Hi i have a big compilation problem.
the following error appears
Board Intel:i586:izmir_fd no define el ajuste ‘build.board’. Auto-ajuste a: I586_IZMIR_FD
Board Intel:i586:izmir_fg no define el ajuste ‘build.board’. Auto-ajuste a: I586_IZMIR_FG
Board Intel:i686:izmir_ec no define el ajuste ‘build.board’. Auto-ajuste a: I686_IZMIR_EC
C:\Users\jjpp9_000\Desktop\corto tx rx\Receiver\Receiver.ino:1:25: fatal error: VirtualWire.h: No such file or directory
#include <VirtualWire.h>
^
compilation terminated.
exit status 1
Error de compilación
how can I solve that?
it hapend in all the code that have #include <VirtualWire.h>
#include <VirtualWire.h>
void setup()
{
pinMode(13,OUTPUT);
digitalWrite(13,LOW);
vw_setup(2000);
vw_set_rx_pin(7);
vw_rx_start();
}
void loop()
{
uint8_t buflen = VW_MAX_MESSAGE_LEN;
uint8_t buf[buflen];
if(vw_get_message(buf, &buflen))
{
for(int i = 0;i < buflen;i++)
{
if(buf == ‘1’)
- {*
- digitalWrite(13,HIGH);*
- }*
_ else if(buf == ‘0’)_
* {*
* digitalWrite(13,LOW);*
* }*
* }*
* }*
}