Hello,
please i need some help, i got this code for a project that i need to build around an nano arduino and ublox 6M with 20x4 I2C screen. But when i verify the code i get this fault
C:\Users\George\Desktop\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master(1)\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master\Si5351_vfo_v5_3c_I2C\Si5351_vfo_v5_3c_I2C.ino: In function 'void setup()':
C:\Users\George\Desktop\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master(1)\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master\Si5351_vfo_v5_3c_I2C\Si5351_vfo_v5_3c_I2C.ino:220:3: error: 'Wire' was not declared in this scope
Wire.begin(1); // join I2C bus (address = 1)
^~~~
C:\Users\George\Desktop\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master(1)\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master\Si5351_vfo_v5_3c_I2C\Si5351_vfo_v5_3c_I2C.ino:220:3: note: suggested alternative: 'time'
Wire.begin(1); // join I2C bus (address = 1)
^~~~
time
C:\Users\George\Desktop\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master(1)\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master\Si5351_vfo_v5_3c_I2C\Si5351_vfo_v5_3c_I2C.ino:268:7: error: 'class LiquidCrystal_I2C' has no member named 'init'
lcd.init(); // Initialize the I2C LCD
^~~~
C:\Users\George\Desktop\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master(1)\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master\Si5351_vfo_v5_3c_I2C\Si5351_vfo_v5_3c_I2C.ino: In function 'uint8_t Si5351_write(uint8_t, uint8_t)':
C:\Users\George\Desktop\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master(1)\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master\Si5351_vfo_v5_3c_I2C\Si5351_vfo_v5_3c_I2C.ino:870:3: error: 'Wire' was not declared in this scope
Wire.beginTransmission(Si5351A_addr);
^~~~
C:\Users\George\Desktop\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master(1)\GPS-Si5351-VFO-QEX-JUL-AUG-2015-master\Si5351_vfo_v5_3c_I2C\Si5351_vfo_v5_3c_I2C.ino:870:3: note: suggested alternative: 'time'
Wire.beginTransmission(Si5351A_addr);
^~~~
time
exit status 1
Compilation error: 'Wire' was not declared in this scope
please im new to the arduino, and i need this project for my lab. This is a 10Mhz reference for calibration use.
project was found here GitHub - W3PM/GPS-Si5351-VFO-QEX-JUL-AUG-2015: Si5351 Arduino Controlled GPS Corrected VFO (QEX July/August 2015)
dont know what else to leave here or if im asking to the correct place
Thank you
George
7 posts - 2 participants