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:
- 130:d5b53088270b
- Parent:
- 128:a232a4352664
- Child:
- 136:8074893cd24e
diff -r a232a4352664 -r d5b53088270b ThreadsAndFunctions.h
--- a/ThreadsAndFunctions.h Fri Feb 26 13:29:33 2016 +0000
+++ b/ThreadsAndFunctions.h Sat Feb 27 07:12:04 2016 +0000
@@ -301,24 +301,4 @@
#endif
gPAY_SPI.bulkRead_start();
}
-}
-
-//I2C from CDMS to PL
-const int addr1 = (0x20<<1|0);
-
-bool f = 1;
-
-void isr_pyldtm()
-{
- ptr_t_pyldtm->signal_set(0x4);
-}
-
-char rdata[134];
-void pyldtm(void const *args)
-{
- while(1)
- {
- Thread::signal_wait(0x4);
- f= master.read(addr1,rdata,134);
- }
}
\ No newline at end of file
