![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Control Code with I/O and ADC working
Diff: main.cpp
- Revision:
- 18:aaec99ca68c3
- Parent:
- 17:96c064f773ab
- Child:
- 19:0946665b37c7
--- a/main.cpp Wed Jun 20 18:13:31 2018 +0000 +++ b/main.cpp Wed Jun 20 18:33:26 2018 +0000 @@ -778,9 +778,6 @@ /*************************************************************/ int main() { - //print UID once - if(UID_PRINT) pc.printf("DBG: <%f>[UID: %04X%08X%08X] PSTARTED\n", t.read(), UIDMH, UIDML, UIDL); - //variables for controlling board Timer t; Timer t_cool; @@ -806,6 +803,9 @@ UIDML = (uint32_t)SIM->UIDML; UIDL = (uint32_t)SIM->UIDL; + //print UID once + if(UID_PRINT) pc.printf("DBG: <%f>[UID: %04X%08X%08X] PSTARTED\n", t.read(), UIDMH, UIDML, UIDL); + while(1) { //test_mcp23008(0);