How to send Lcd display control command via Serial link.

Hello, I am using two arduino nano with 433 Mhz transmitter and receiver
to make a wireless link between an anemometer and an lcd display.
I am using the VirtualWire library and it works great.
However, for the layout I programmed the micro controller connected 
to the lcd display so that it permanently displays on the first line the
title "Wind Speed:"
followed by the value of the variable received by the serial port.
And it is he who positions the cursor at the desired location with the command 
"lcd.setCursor (x, x);"
In short, there is only the variable which passes through the 
serial / radio communication.
I'm looking for how to position the cursor or erase the content of the display
from the transmitter directly. So send commands (like "lcd.clear" or other ...)
through the serial link.

Thank you for your help.
void loop() {
//the variable "valeur" contain the wind speed value from an isr.
 
 vw_send((byte *) &valeur, sizeof(valeur)); // On envoie le message
 vw_wait_tx(); // On attend la fin de l'envoi
delay(1000);
}

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.