Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TRP105F_Spline by
Diff: TRP105FS_SPIWrapper.cpp
- Revision:
- 19:ee2558b13570
- Parent:
- 16:c2b0f3ca63dd
- Child:
- 22:eaaaa42a0ccb
--- a/TRP105FS_SPIWrapper.cpp Fri Jun 24 11:33:01 2016 +0000
+++ b/TRP105FS_SPIWrapper.cpp Thu Jun 30 15:23:41 2016 +0000
@@ -43,6 +43,13 @@
,filename("\0")
{}
+SPI_TRP105FS::SPI_TRP105FS(unsigned int arg_ns, unsigned int arg_ch)
+ :channel(arg_ch)
+ ,nsample(arg_ns)
+ ,trp(TRP105FS(nsample))
+ ,filename("\0")
+{}
+
void
SPI_TRP105FS::setSample(unsigned short arg_x)
{
