![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ladsidfs
Fork of 0NicksCoursework_copywithserialtime by
Diff: main.cpp
- Revision:
- 10:c9c1522957b2
- Parent:
- 9:e27b3f34de24
--- a/main.cpp Tue Jan 09 06:14:41 2018 +0000 +++ b/main.cpp Wed Jan 10 14:10:05 2018 +0000 @@ -15,14 +15,12 @@ void inter3(); void inter4(); void inter5(); -void inter6(); Ticker samples; Ticker remov; InterruptIn sdex(USER_BUTTON); Ticker storage; Ticker netTick; Ticker serielTick; -Ticker buttonTick; int T = 5; void inter1(){ sdcheck(); @@ -44,13 +42,9 @@ void inter5(){ stxThread.signal_set(SIG_SX); } -//void inter6(){ -// timebuttonThread.signal_set(SIG_button); -//} int main(){ lglcd mylcd(D7,D6,D5,D4,D3,D2); setuptime(); -printf("NEWIT"); sdrun(); lcdstart(); welcomemsg(); @@ -64,6 +58,5 @@ netTick.attach(&inter4,0.01); stxThread.start(useseriel); serielTick.attach(&inter5,0.1); -//timebuttonThread.start(//insertnamehere); -//buttonTick.attach(&inter6,0.3); + } \ No newline at end of file