Apc 220 Wireless module don't working
hi,
i bought apc220 module , create program turn on led when write b , turn off when write c in serial window.
i try program usb cable , work try program wireless module didn't work.
how fix it??
i bought apc220 module , create program turn on led when write b , turn off when write c in serial window.
i try program usb cable , work try program wireless module didn't work.
code: [select]
int val = 0;
int ledpin = 13;
void setup()
{
serial.begin(9600);
pinmode(ledpin,output);
}
void loop()
{
val = serial.read();
if (-1 != val) {
if ('a' == val || 'a' == val) serial.println("segnale ricevuto");
else if ('b' == val || 'b' == val) digitalwrite(ledpin, high);
else if ('c' == val || 'c' == val) digitalwrite(ledpin, low);
}
}
how fix it??
im bit lost here.
where other radio module.
you need 2 , 1 transmit , 2nd receive .
those modules 1/2 duplex, can send or receive , not both @ same time.
where other radio module.
you need 2 , 1 transmit , 2nd receive .
those modules 1/2 duplex, can send or receive , not both @ same time.
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Apc 220 Wireless module don't working
arduino
Comments
Post a Comment