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.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: ThreadsAndFunctions.h
- Revision:
- 175:e869e7837978
- Parent:
- 174:44a6d7c7674c
- Child:
- 177:2fa8582896e0
--- a/ThreadsAndFunctions.h Fri Apr 22 11:27:33 2016 +0000
+++ b/ThreadsAndFunctions.h Fri Apr 22 11:52:54 2016 +0000
@@ -18,7 +18,8 @@
gPAY_SPI.format(8,0);
gPAY_SPI.bulkRead_init(gPAYLOAD_BUFFER, PAYLOAD_BUFFER_LENGTH, &payload_isr_fun);
gPAY_SPI.bulkRead_start();
-
+ gPAY_SPI.bulkRead_end();
+ Init_gPAY_SPI;
while(true){
gPC.puts("entering sci\r\n");
@@ -27,6 +28,7 @@
srp(gPAYLOAD_BUFFER);
gPC.puts("exit_srp\r\n");
gPAY_SPI.bulkRead_start();
+
}
}
