Hi guys !
I'm working on little project with virtualWire to create 433 mhz command.
To test it i use another Arduino with LCD Keypad Shield of Saint Smart.
But i got issue when i try to use the LCD with VirtualWire.
The backlight stay black ..
I've already read some topic about this probleme before so i've tried to change the RX and TX pin of virtualWire but it's dont work.
I need to connect GND on the K pin of my Shield to have backlight works..
Here is my code :
#include <LiquidCrystal.h>
#include <VirtualWire.h>LiquidCrystal lcd(8, 9, 4, 5, 6, 7);// Liquid Crystal setup
void setup()
{lcd.begin(16, 2); // start the LCD
Serial.begin(9600); // strart Serial
vw_set_rx_pin(11); // Set different RX PIN
vw_setup(2000); // set Bits per sec
vw_rx_start(); // Start the receiver}
void loop()
{
uint8_t buf[VW_MAX_MESSAGE_LEN];
uint8_t buflen = VW_MAX_MESSAGE_LEN;
if (vw_get_message(buf, &buflen)) // Non-blocking
{
int i;
// Message with a good checksum received, dump it.
Serial.print("Got: ");
lcd.clear();//Clear LCD before print new char
lcd.setCursor(0,0);//Set cursor tu line 1
lcd.print("RECEPTION : ");
lcd.setCursor(0,1);// Set cursor to line 2
for (i = 0; i < buflen; i++)
{
Serial.print(buf*, HEX);*
_ lcd.print(buf*, HEX);_
_ Serial.print(" ");_
_ }_
_ Serial.println("");_
_ }_
_}_
_[/quote]_
The receiver is connected to pin 11 ( not used by the shield )
Sorry for my bad english.
_.Ju*_