Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino IDE demo source code for KC868-A32]--#03-Nextion TFT LCD Display
#1
Wink 
Code:
int i=0;

void setup()
{
Serial2.begin(9600);
}

void loop()
{
i++;
if (i==100) i=0;

Serial2.print("n0.val=");
Serial2.print(i);
Serial2.write(0xff);
Serial2.write(0xff);
Serial2.write(0xff);
delay(200);

}
   
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)