- Timestamp:
- Aug 23, 2016, 9:25:17 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rtos_arduino/trunk/examples/MultiTaskText/Interrupt/rca_app.cpp
r244 r257 33 33 int TouchValue = digitalRead(TOUCH_PIN); 34 34 35 if ((PreTouchValue == 0) && (TouchValue == 1) && (TouchState = 0)) {35 if ((PreTouchValue == 0) && (TouchValue == 1) && (TouchState == 0)) { 36 36 TouchState = 1; 37 37 } 38 38 39 if ((PreTouchValue == 1) && (TouchValue == 0) && (TouchState = 1)) {39 if ((PreTouchValue == 1) && (TouchValue == 0) && (TouchState == 1)) { 40 40 TouchState = 0; 41 41 iwup_tsk(RCA_TASK1);
Note:
See TracChangeset
for help on using the changeset viewer.