Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't Compile under Arduino 1.6.0
#1
getting a persistent error when trying to compile "DISPLAY_Robotank_1.6" sketch.
Did a the clean install of Arduino 1.6.0 on a laptop that never had any arduino installed. Coppied libraries as instructed.
still getting the following error:

Arduino: 1.6.0 (Windows 8), Board: "Arduino Duemilanove or Diecimila, ATmega328"

Build options changed, rebuilding all

DISPLAY_RoboTank_V1_6.ino:45:22: error: 'A8' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void setup()':
DISPLAY_RoboTank_V1_6.ino:798:3: error: 'Wire1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:801:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:802:3: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void loop()':
DISPLAY_RoboTank_V1_6.ino:1030:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:1061:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:1062:9: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:1133:7: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:1146:12: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:1197:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:1213:10: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void processData()':
DISPLAY_RoboTank_V1_6.ino:1363:7: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void EEPROM_write(unsigned int, byte)':
DISPLAY_RoboTank_V1_6.ino:1512:3: error: 'Wire1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'byte EEPROM_read(unsigned int)':
DISPLAY_RoboTank_V1_6.ino:1522:3: error: 'Wire1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void screenHome()':
DISPLAY_RoboTank_V1_6.ino:1579:3: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void lightsScreen()':
DISPLAY_RoboTank_V1_6.ino:1850:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void screenLights()':
DISPLAY_RoboTank_V1_6.ino:1947:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void screenCalibrateTemps()':
DISPLAY_RoboTank_V1_6.ino:5495:3: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void screenLightsHome()':
DISPLAY_RoboTank_V1_6.ino:5712:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void screenWeather3()':
DISPLAY_RoboTank_V1_6.ino:5957:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sync()':
DISPLAY_RoboTank_V1_6.ino:6150:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:6255:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:6273:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void processMyTouch()':
DISPLAY_RoboTank_V1_6.ino:7612:11: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:7648:11: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:7684:11: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:7728:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:7751:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:7803:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:8109:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:8151:13: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:8165:13: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:8179:13: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:8193:13: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:9827:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:10012:13: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13430:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13448:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13463:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13673:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13685:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13701:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13713:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13729:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13741:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13757:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13769:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13785:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13797:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13813:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13825:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13841:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13853:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13869:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13881:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13897:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13909:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13925:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13937:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13953:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13965:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13981:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:13993:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14009:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14021:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14037:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14049:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14146:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14168:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14618:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14623:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14732:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:14750:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:15447:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:15954:9: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:17353:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:17369:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:17944:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:17953:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:17965:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:17974:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:17986:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:17995:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18007:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18016:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18028:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18037:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18049:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18058:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18070:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18079:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18091:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18100:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18112:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18121:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18133:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18142:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18154:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18163:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18175:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18184:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18196:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18205:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18217:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18226:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18238:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18247:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18259:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18268:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18280:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18289:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18301:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18310:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18322:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18331:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18343:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18352:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18364:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18373:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18385:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18394:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18406:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18415:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18427:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18436:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18448:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18457:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18469:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18478:11: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18490:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18522:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:18536:9: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkTempsR()':
DISPLAY_RoboTank_V1_6.ino:19521:3: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void feedingStart()':
DISPLAY_RoboTank_V1_6.ino:20124:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void feedingStop()':
DISPLAY_RoboTank_V1_6.ino:20201:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRamp1()':
DISPLAY_RoboTank_V1_6.ino:20627:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRamp2()':
DISPLAY_RoboTank_V1_6.ino:20643:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRamp3()':
DISPLAY_RoboTank_V1_6.ino:20659:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRamp4()':
DISPLAY_RoboTank_V1_6.ino:20675:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRamp5()':
DISPLAY_RoboTank_V1_6.ino:20691:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRamp6()':
DISPLAY_RoboTank_V1_6.ino:20707:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmFert1()':
DISPLAY_RoboTank_V1_6.ino:20986:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmFert2()':
DISPLAY_RoboTank_V1_6.ino:21065:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmFert3()':
DISPLAY_RoboTank_V1_6.ino:21144:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmFert4()':
DISPLAY_RoboTank_V1_6.ino:21224:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmFeed1()':
DISPLAY_RoboTank_V1_6.ino:21285:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmFeed2()':
DISPLAY_RoboTank_V1_6.ino:21296:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmLunarUpdate()':
DISPLAY_RoboTank_V1_6.ino:21304:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderRedHighRange()':
DISPLAY_RoboTank_V1_6.ino:22397:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22402:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderRedLowRange()':
DISPLAY_RoboTank_V1_6.ino:22423:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22428:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderGreenHighRange()':
DISPLAY_RoboTank_V1_6.ino:22451:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22456:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderGreenLowRange()':
DISPLAY_RoboTank_V1_6.ino:22477:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22482:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderGreen2HighRange()':
DISPLAY_RoboTank_V1_6.ino:22505:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22510:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderGreen2LowRange()':
DISPLAY_RoboTank_V1_6.ino:22531:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22536:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderBlueHighRange()':
DISPLAY_RoboTank_V1_6.ino:22559:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22564:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderBlueLowRange()':
DISPLAY_RoboTank_V1_6.ino:22585:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22590:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderBlue2HighRange()':
DISPLAY_RoboTank_V1_6.ino:22613:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22618:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderBlue2LowRange()':
DISPLAY_RoboTank_V1_6.ino:22639:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22644:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderWhiteHighRange()':
DISPLAY_RoboTank_V1_6.ino:22667:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22672:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderWhiteLowRange()':
DISPLAY_RoboTank_V1_6.ino:22693:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22698:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderVioletHighRange()':
DISPLAY_RoboTank_V1_6.ino:22721:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22726:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderVioletLowRange()':
DISPLAY_RoboTank_V1_6.ino:22747:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22752:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderMoonHighRange()':
DISPLAY_RoboTank_V1_6.ino:22775:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22780:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderMoonLowRange()':
DISPLAY_RoboTank_V1_6.ino:22801:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22806:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh9HighRange()':
DISPLAY_RoboTank_V1_6.ino:22829:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22834:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh9LowRange()':
DISPLAY_RoboTank_V1_6.ino:22855:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22860:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh10HighRange()':
DISPLAY_RoboTank_V1_6.ino:22883:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22888:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh10LowRange()':
DISPLAY_RoboTank_V1_6.ino:22909:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22914:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh11HighRange()':
DISPLAY_RoboTank_V1_6.ino:22937:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22942:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh11LowRange()':
DISPLAY_RoboTank_V1_6.ino:22963:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22968:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh12HighRange()':
DISPLAY_RoboTank_V1_6.ino:22991:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:22996:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh12LowRange()':
DISPLAY_RoboTank_V1_6.ino:23017:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:23022:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh13HighRange()':
DISPLAY_RoboTank_V1_6.ino:23045:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:23050:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh13LowRange()':
DISPLAY_RoboTank_V1_6.ino:23071:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:23076:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh14HighRange()':
DISPLAY_RoboTank_V1_6.ino:23099:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:23104:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh14LowRange()':
DISPLAY_RoboTank_V1_6.ino:23125:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:23130:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh15HighRange()':
DISPLAY_RoboTank_V1_6.ino:23153:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:23158:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh15LowRange()':
DISPLAY_RoboTank_V1_6.ino:23179:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:23184:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh16HighRange()':
DISPLAY_RoboTank_V1_6.ino:23207:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:23212:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void sliderCh16LowRange()':
DISPLAY_RoboTank_V1_6.ino:23233:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:23238:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderT()':
DISPLAY_RoboTank_V1_6.ino:23393:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderCC()':
DISPLAY_RoboTank_V1_6.ino:23429:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderHS()':
DISPLAY_RoboTank_V1_6.ino:23465:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderMS()':
DISPLAY_RoboTank_V1_6.ino:23501:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderLS()':
DISPLAY_RoboTank_V1_6.ino:23537:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderM()':
DISPLAY_RoboTank_V1_6.ino:23573:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderHSsimple()':
DISPLAY_RoboTank_V1_6.ino:23609:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderMSsimple()':
DISPLAY_RoboTank_V1_6.ino:23645:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderLSsimple()':
DISPLAY_RoboTank_V1_6.ino:23681:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkSliderMsimple()':
DISPLAY_RoboTank_V1_6.ino:23717:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void resyncLights()':
DISPLAY_RoboTank_V1_6.ino:27408:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkLightingMode()':
DISPLAY_RoboTank_V1_6.ino:27464:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void saveEeprom()':
DISPLAY_RoboTank_V1_6.ino:27535:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void save33()':
DISPLAY_RoboTank_V1_6.ino:27787:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void save35()':
DISPLAY_RoboTank_V1_6.ino:27802:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void save43()':
DISPLAY_RoboTank_V1_6.ino:27817:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void save45()':
DISPLAY_RoboTank_V1_6.ino:27832:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void save175()':
DISPLAY_RoboTank_V1_6.ino:28705:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:28713:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void save20()':
DISPLAY_RoboTank_V1_6.ino:28756:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void defaults()':
DISPLAY_RoboTank_V1_6.ino:29958:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void readSliderModes()':
DISPLAY_RoboTank_V1_6.ino:30673:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void readRelayID()':
DISPLAY_RoboTank_V1_6.ino:30843:5: error: 'Serial2' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void readRampSchedule()':
DISPLAY_RoboTank_V1_6.ino:30977:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void smartStartup()':
DISPLAY_RoboTank_V1_6.ino:31072:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void checkCurrentLightMode()':
DISPLAY_RoboTank_V1_6.ino:31365:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31371:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31377:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31383:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31389:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31395:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31401:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31407:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31413:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31419:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31425:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31431:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31437:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31443:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31449:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31455:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31461:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31467:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31473:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31479:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31485:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31491:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31497:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31503:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31509:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31515:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31521:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino:31527:5: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay1_On()':
DISPLAY_RoboTank_V1_6.ino:31614:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay2_On()':
DISPLAY_RoboTank_V1_6.ino:31621:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay3_On()':
DISPLAY_RoboTank_V1_6.ino:31628:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay4_On()':
DISPLAY_RoboTank_V1_6.ino:31635:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay5_On()':
DISPLAY_RoboTank_V1_6.ino:31642:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay6_On()':
DISPLAY_RoboTank_V1_6.ino:31649:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay7_On()':
DISPLAY_RoboTank_V1_6.ino:31656:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay8_On()':
DISPLAY_RoboTank_V1_6.ino:31663:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay9_On()':
DISPLAY_RoboTank_V1_6.ino:31670:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay10_On()':
DISPLAY_RoboTank_V1_6.ino:31677:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay11_On()':
DISPLAY_RoboTank_V1_6.ino:31684:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay12_On()':
DISPLAY_RoboTank_V1_6.ino:31691:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay13_On()':
DISPLAY_RoboTank_V1_6.ino:31698:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay14_On()':
DISPLAY_RoboTank_V1_6.ino:31705:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay15_On()':
DISPLAY_RoboTank_V1_6.ino:31712:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay16_On()':
DISPLAY_RoboTank_V1_6.ino:31719:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay1_Off()':
DISPLAY_RoboTank_V1_6.ino:31726:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay2_Off()':
DISPLAY_RoboTank_V1_6.ino:31733:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay3_Off()':
DISPLAY_RoboTank_V1_6.ino:31740:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay4_Off()':
DISPLAY_RoboTank_V1_6.ino:31747:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay5_Off()':
DISPLAY_RoboTank_V1_6.ino:31754:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay6_Off()':
DISPLAY_RoboTank_V1_6.ino:31761:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay7_Off()':
DISPLAY_RoboTank_V1_6.ino:31769:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay8_Off()':
DISPLAY_RoboTank_V1_6.ino:31776:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay9_Off()':
DISPLAY_RoboTank_V1_6.ino:31783:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay10_Off()':
DISPLAY_RoboTank_V1_6.ino:31790:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay11_Off()':
DISPLAY_RoboTank_V1_6.ino:31797:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay12_Off()':
DISPLAY_RoboTank_V1_6.ino:31804:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay13_Off()':
DISPLAY_RoboTank_V1_6.ino:31811:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay14_Off()':
DISPLAY_RoboTank_V1_6.ino:31818:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay15_Off()':
DISPLAY_RoboTank_V1_6.ino:31825:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void AlarmRelay16_Off()':
DISPLAY_RoboTank_V1_6.ino:31832:3: error: 'Serial1' was not declared in this scope
DISPLAY_RoboTank_V1_6.ino: In function 'void clearMinMax()':
DISPLAY_RoboTank_V1_6.ino:33417:3: error: 'Serial2' was not declared in this scope
Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
Reply to top
#2
I think I found the culprit - downloaded another branch of Wire library and it looks good so far - will update once i connect everything.
Reply to top
#3
Hi veriqster, it looks like the wrong board type is selected, in the IDE click "Tools", "Board" and then select "Arduino Due (programming port), its the 2nd last one from the bottom of the list. The Arduino Duemilanove or Diecimila is a different board.
Reply to top
#4
I got that sorted out and the sketch compiles and uploads.
I did not get to connect the display board with the other board but the 7"CPLD I got from banggood looks all right.
One other little problem - it does NOT seem to register any touches on the screen. Could that be related to the fact that the display board is running as standalone right now, do I need to connect it to the power bar board or is this more likely related to the display itself?
Reply to top
#5
You don't need to connect the display to the power bar for it to work, only need to when you're ready to go.

In the download folder you'll see a folder called "Calibration", in the folder open the "CPLD 7" folder and copy that file to the C:\mydocuments\arduino\libaries\UTouch folder. It'll ask to overwrite the existing file which you want to do.

Then restart the arduino IDE and upload the sketch again. If that doesn't work you'll need to run the calibration sketch to get numbers for you display. Lots of displays use different numbers but its worth trying the CPLD one I included.
Reply to top
#6
i had to change the pins to 7,6,5,4,2 and the calibration sketch works

now I have another problem, it does NOT compile again. erased all the arduino software, reinstalled, downloaded robotank again to make sure I did not change anything in the sketch, nothing helps; I feel CURSED
:(

the error is :
Arduino: 1.6.0 (Windows 8), Board: "Arduino Due (Programming Port)"

DISPLAY_RoboTank_V1_6.ino: In function 'void checkPowerStatus()':

DISPLAY_RoboTank_V1_6.ino:33057:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33058:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33059:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33060:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33061:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33062:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33063:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33064:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33065:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33066:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33067:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33068:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33069:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33070:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33071:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33072:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33073:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33074:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33075:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33076:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33077:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33078:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33079:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33080:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33081:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33082:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33083:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33084:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33085:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33086:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33087:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33088:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33089:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33090:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33091:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33092:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33093:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33094:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33095:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33096:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33097:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33098:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33099:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33100:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33101:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33102:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33103:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33104:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33105:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33106:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33107:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33108:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33109:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33110:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33111:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33112:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33113:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33114:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33115:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33116:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33117:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33118:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33119:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33120:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33121:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33122:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33123:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33124:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33125:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33126:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33127:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33128:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33129:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33130:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33131:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33132:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33133:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33134:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33135:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33136:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33140:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33141:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33142:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33143:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33144:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33145:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33146:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33147:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33148:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33149:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33150:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33151:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33152:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33153:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33154:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33155:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33156:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33157:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33158:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33159:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33160:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33161:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33162:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33163:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33164:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33165:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33166:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33167:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33168:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33169:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33170:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33171:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33172:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33173:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33174:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33175:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33176:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33177:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33178:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33179:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33180:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33181:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33182:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33183:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33184:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33185:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33186:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33187:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33188:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33189:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33190:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33191:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33192:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33193:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33194:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33195:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33196:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33197:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33198:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33199:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33200:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33201:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33202:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33203:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33204:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33205:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33206:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33207:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33208:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33209:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33210:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33211:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33212:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33213:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33214:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33215:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33216:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33217:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33218:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33219:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33220:27: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33221:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33222:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33223:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33224:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33225:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33226:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33227:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33228:32: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33229:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33230:28: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33231:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33232:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33233:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33234:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33235:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33236:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33237:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33238:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33239:34: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33240:28: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33241:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33242:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33243:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33244:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33245:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33246:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33247:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33248:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33249:34: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33250:28: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33251:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33252:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33253:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33254:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33255:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33256:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33257:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33258:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33259:34: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33260:28: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33261:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33262:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33263:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33264:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33265:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33266:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33267:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33268:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33269:34: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33270:28: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33271:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33272:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33273:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33274:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33275:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33276:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33277:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33278:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33279:34: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33280:28: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33281:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33282:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33283:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33284:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33285:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33286:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33287:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33288:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33289:34: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33290:28: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33291:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33292:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33293:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33294:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33295:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33296:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33297:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33298:33: error: 'myFiles' was not declared in this scope

DISPLAY_RoboTank_V1_6.ino:33299:34: error: 'myFiles' was not declared in this scope

Error compiling.
Reply to top
#7
I'm surprised changing a pin number got the touch working, all the screens I've come across so far use what was in the sketch. As far as the new errors it looks like its UTFT library related. 'myFiles' is a call for an image and function in the library. Odd thing is its not complaining about the library. Can you post images of your library folder or paste the file path to the libraries. Also make sure you don't have two of the same libraries in the Arduino/libraries folder, even if the folder name is different they seem to conflict. Make sure to restart the arduino IDE every time you change a library or file.

When you uninstall the arduino IDE program before reinstalling it make sure the C:\program files(x86)\arduino\ folder is deleted. It's possible it was left with the libraries still. Also check you documents/arduino folder and make sure its gone. Then reinstall the IDE and copy all the libraries from the download package to your documents/arduino/libraries folder.
Reply to top
#8
Still working on it Rob,
This is a REALLY wiered issue. I actually managed to duplicate it on the second laptop that never had any arduino with the exception of a clean install of 1.6.0.
It compiled the sketch, i closed the IDE and than plugged the DUE in, restarted the IDE and it failed to recompile or upload. Really strange.
I cleaned up the registry for anything arduino related on my main laptop and reinstalled the 1.6.0.
Now it compiles so I will leave the IDE running and try to get this thing going; hopefully tomorrow.
Reply to top
#9
hmm that is strange. I wonder if its Windows 8 causing the problem. You only need to restart the IDE if you change a library, you should be able to swap the arduinos without a restart. Hope tomorrow is a better day with it.
Reply to top
#10
Actually both laptops are Windows 10 machines. I have a feeling something is wrong with the way the IDE itself operates, if you notice it only complains about the "myFiles" function after a certain line number. I left the IDE running once I got it to compile after the registry cleanup and I finally have a screen that shows me the program - it looks NICE!!!
Now to my next problem, the bangggood display I got seems to have touch issues - I activate the wrong button or don't even activate any button every time I try to select an icon. I tried recalibrating and it leads me to believe that the touch on the display is at best of miserable quality - I get different calibration values every time I run the UTouch calibration sketch. Has anybody experienced this before?
Reply to top
#11
On another Arduino project, I experienced calibration issues with a SainSmart 3.2" TFT screen.  The "touch" was off by exactly 50% on the X axis (horizontally). Touch a button on the right side and a button's action on the left side was activated. The touch response was not mirrored, but rather wrapped around. I tried to calibrate it using the industry standard's Henning Karlsen libraries, however learned that he does not support the SainSmart product as apparently they don't play nice. Even SainSmart's own calibration offered no success and the screen sits unused (for now) in a box. My efforts now have be on Robo-Tank with quite good results ;-)
Try looking through his Karlsen's libraries at http://www.rinkydinkelectronics.com/index.php He has a wealth of resources, libraries, and support for many manufacturers.  I am successfully using ElecFreaks 7" TFT display with NO issues. It even dims properly and I did not have to relocate the resistor as mentioned elsewhere in this forum.
Reply to top
#12
I have the kinda of the same problem as Steve S I have 2 7" Sainsmart screens tried both and 1 worked for a while then started getting lines down the screen looked like a frozen Tetris game. The second one never worked at all after 2 weeks of every night after work trying to get it to work I broke down and just bought the ElecFreaks 7" screen and it worked right out of the box with out a single problem didn't have to calibrate or nothing just worked that.
Reply to top
#13
I'll second that! I've had LOTS of issues with SainSmart and their tech support is much less than stellar. I've experienced the lines etc.

Per Rob's recommendation (before he was supplying the CPLD), I went with the ElectFreaks. Like Rott's experience, mine worked right out of the box and did NOT need calibration!
Reply to top
#14
(05-03-2016, 04:46 AM)veriqster Wrote: Actually both laptops are Windows 10 machines. I have a feeling something is wrong with the way the IDE itself operates, if you notice it only complains about the "myFiles" function after a certain line number. I left the IDE running once I got it to compile after the registry cleanup and I finally have a screen that shows me the program - it looks NICE!!!
Now to my next problem, the bangggood display I got seems to have touch issues - I activate the wrong button or don't even activate any button every time I try to select an icon. I tried recalibrating and it leads me to believe that the touch on the display is at best of miserable quality - I get different calibration values every time I run the UTouch calibration sketch. Has anybody experienced this before?

That's strange, the errors you posted say Windows 8 that's where I got that from. Glad to hear you got a picture thought. As far as the touch screen all you can do is keep trying to calibrate it. This is the biggest problem people have and I always/highly recommend getting a display from me or ElecFreaks so there is no problems. When you do the calibration sketch make sure the screen orientation is set to landscape. Here's the calibration sketch I use, maybe try it.


Attached Files
.zip   UTouchCalibration.zip (Size: 3.17 KB / Downloads: 160)
Reply to top
#15
well, something is going wrong here..
I can't get the display sketch to compile.

It's giving me these error codes:
Arduino: 1.6.0 (Windows 7), Board: "Arduino Due (Programming Port)"

DISPLAY_RoboTank_V2.2.ino:59:1: error: 'Scheduler' does not name a type

DISPLAY_RoboTank_V2.2.ino: In function 'void setup()':

DISPLAY_RoboTank_V2.2.ino:1073:21: error: 'scheduler' was not declared in this scope

DISPLAY_RoboTank_V2.2.ino:1074:38: error: 'scheduler' was not declared in this scope

DISPLAY_RoboTank_V2.2.ino:1075:6: error: 'scheduler' was not declared in this scope

DISPLAY_RoboTank_V2.2.ino: In function 'void loop()':

DISPLAY_RoboTank_V2.2.ino:1094:1: error: 'scheduler' was not declared in this scope

DISPLAY_RoboTank_V2.2.ino: In function 'void writeGr()':

DISPLAY_RoboTank_V2.2.ino:22731:21: error: 'scheduler' was not declared in this scope

DISPLAY_RoboTank_V2.2.ino:22732:38: error: 'scheduler' was not declared in this scope

DISPLAY_RoboTank_V2.2.ino:22733:6: error: 'scheduler' was not declared in this scope


it is not huge, I think but It's an error..
Reply to top
#16
Sorry I forgot to add the scheduler library to the download package, I just sent it to you via email.
Reply to top
#17
thanks,

got it installed and now I get this:
Arduino: 1.6.0 (Windows 7), Board: "Arduino Due (Programming Port)"

DISPLAY_RoboTank_V2.2.ino: In function 'void setup()':

DISPLAY_RoboTank_V2.2.ino:1073:30: error: expected unqualified-id before '.' token

DISPLAY_RoboTank_V2.2.ino:1074:47: error: expected unqualified-id before '.' token

a bit odd since everything else checks out

got it fixed now,
turned out to be Scheduler.schedule on both lines was the culprit
changed it to scheduler.schedule and it compiles.

can someone confirm that this will work properly and was indeed the cause?
Reply to top
#18
Hmm, that's doesn't make any sense. Scheduler.schedule is uses in about 6 or 7 lines so they should all need changing if that was it. I also looked in the sketch I packaged and that isn't on lines 1073 or 1074, the first instance is on line 1103, 1104 and 1105. I removed the library from my directory and it wouldn't compile, I place it back and it compiled ok.

Maybe try downloading the package again and start over. I've added the schedule library to the download.
Reply to top
#19
Thanks for checking ;)
Didn't have anymore time yesterday so maybe this weekend I'll update..
The reason why I had different lines is I deleted some blank lines at the top of the code.
I work on some kind of netbook that freezes sometimes.
When I loaded the code it appeared blank and scrolled down to see the code, so I deleted the blank lines so it shows the code directly when I open it ;)
Reply to top
#20
When you give it a try be sure to restart the Arduino IDE after you replace the libraries otherwise they won't load properly.
Reply to top


Possibly Related Threads…
Thread Author Replies Views Last Post
  program on arduino spartacus2.0 5 6,885 12-31-2016, 04:50 PM
Last Post: Rob F

Forum Jump:

Current time: 04-27-2024, 10:39 AM