hi,
whenever i compile following sketch code, error message pops up.
Could any one advice me how to fix this code issue.
Thanks
//Transmitter Code (Uno)
#include <VirtualWire.h>
void setup(){
Serial.begin(9600);
vw_setup(2000);
vw_set_tx_pin(7);
}
void loop(){
if(Serial.available())
{
char c = Serial.read();
if(c =='1')
{
vw_send((unit8_t*)c, 1);
}
else if(c == '0')
{
vw_send((unit8_t*)c, 1);
}
}
}
ERROR MESSAGE : 'unit8_t*' was not declared in the scope