calls readyTFT() not beginTFT()
readyTFT also referred to in text
#include <ArduinoRobot.h>
void setup(){
Robot.begin();
Robot.readyTFT();//Initialize the TFT module
}
void loop(){
int val=Robot.analogRead(TK0); //Get analog value from port TK0 on top board.
Robot.debugPrint(val); //No need to erase the old value
delay(100);
}
fixed
#include <ArduinoRobot.h>
void setup(){
Robot.begin();
Robot.beginTFT();//Initialize the TFT module
}
void loop(){
int val=Robot.analogRead(TK0); //Get analog value from port TK0 on top board.
Robot.debugPrint(val); //No need to erase the old value
delay(100);
}