I have been trying to work on this code for my 128x64 screen which worked perfectly. I got frustrated with some things and left it for about a year, after I come back to my project and the Arduino program says that it is no longer using the old version. OK that's fine with me.... The program's software uses different wording and is telling me to change certain commands. After I change them it leads to one command to the next. I am wondering if there is a reference or if anyone can tell me why the "setX", and "setY" is not declared in the scope anymore. Seems like the code has gone to shit since the change.
Here is the old code that arduino enviroment tells me I need to change. Any reference to the new SERIAL
would be helpful as I need to have this working. THANKYOU
#include <NewSoftSerial.h> <--------------------------------------------------THIS HAS AN ERROR
//create display object
NewSoftSerial lcdSerialPort(receive_from_LCD, transmit_to_LCD);
void print(char *data){
lcdSerialPort.print(data);
}
void clearScreen(){
lcdSerialPort.print(0x7C,BYTE); <----------------BYTE IS AN ERROR
lcdSerialPort.print(0x00,BYTE);
}
THE MOST CONFUSING
setX(13); // <-------- Where it says setX not declared
setY(62); // <--------- setY not declared
print("DOV & LKR's Reef!");
drawLine(0, 53, 127, 53, 1);
setX(0);
setY(50);
//set the temperatures
print("LEFT:");
drawCircle(56,50,1,1);
setX(64);
setY(50);
print("RIGHT:");
drawCircle(126,50,1,1);