Ignore:
Timestamp:
Aug 23, 2016, 9:25:17 AM (8 years ago)
Author:
ertl-honda
Message:

バグ修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtos_arduino/trunk/examples/MultiTaskText/Exclusion/rca_app.cpp

    r245 r257  
    3333   int TouchValue = digitalRead(TOUCH_PIN);
    3434
    35   if ((PreTouchValue == 0) && (TouchValue == 1) && (TouchState = 0)) {
     35  if ((PreTouchValue == 0) && (TouchValue == 1) && (TouchState == 0)) {
    3636    TouchState = 1;
    3737  }
    3838
    39   if ((PreTouchValue == 1) && (TouchValue == 0) && (TouchState = 1)) {
     39  if ((PreTouchValue == 1) && (TouchValue == 0) && (TouchState == 1)) {
    4040      TouchState = 0;
    4141      iwup_tsk(RCA_TASK1);
Note: See TracChangeset for help on using the changeset viewer.