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/SingleTask/rca_app.cpp

    r245 r257  
    7070  int TouchValue = digitalRead(TOUCH_PIN);
    7171
    72   if ((PreTouchValue == 0) && (TouchValue == 1) && (TouchState = 0)) {
     72  if ((PreTouchValue == 0) && (TouchValue == 1) && (TouchState == 0)) {
    7373    TouchState = 1;
    7474  }
    7575
    76   if ((PreTouchValue == 1) && (TouchValue == 0) && (TouchState = 1)) {
     76  if ((PreTouchValue == 1) && (TouchValue == 0) && (TouchState == 1)) {
    7777    TouchState = 0;
    7878    if (LEDState == 0) {
Note: See TracChangeset for help on using the changeset viewer.