Hi again Jeff (or any other interested parties). Jeff - looks like you had started typing your response before I sent an extra message about the stupidity of my board question - sorry to waste your time.
First libraries:
This is the library list when I set the board to âArduino UNO WiFi Rev2â:
Using library Wire at version 1.0 in folder: C:\Users\Brian\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7\libraries\Wire
Using library RTClib at version 1.14.1 in folder: C:\Users\brian\Documents\Arduino\libraries\RTClib
Using library SoftwareSerial at version 1.0 in folder: C:\Users\Brian\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7\libraries\SoftwareSerial
Using library SPI at version 1.0 in folder: C:\Users\Brian\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7\libraries\SPI
Using library SD at version 1.2.4 in folder: C:\Program Files (x86)\Arduino\libraries\SD
When I compile for Arduino UNO WiFi (successfully), the three that appear in the ⌠megaavr\1.8.7⌠path are also in the list except they are in the ⌠avr\1.8.3⌠path. The RTCLib and SD are unchanged.
If I try to compile with the RTC declaration line included in the sketch, I get the error in my first note: âexpected â)â before â*â tokenâ with the declaration line highlighted.
If I comment out the declaration line, I then get a number of errors in the log but the IDE seems to conclude it was successfully compiled.
The errors point to the following:
it seems this function in RTClib.cpp is one end of the problem:
/**************************************************************************/
static uint8_t read_i2c_register(uint8_t addr, uint8_t reg,
TwoWire *wireInstance) {
wireInstance->beginTransmission(addr);
wireInstance->_I2C_WRITE((byte)reg);
wireInstance->endTransmission();
wireInstance->requestFrom(addr, (byte)1);
return wireInstance->_I2C_READ();
}
/**************************************************************************/
The 1.8.3 version of Wire.h has these five varieties of ârequestFromâ:
uint8_t requestFrom(uint8_t, uint8_t);
uint8_t requestFrom(uint8_t, uint8_t, uint8_t);
uint8_t requestFrom(uint8_t, uint8_t, uint32_t, uint8_t, uint8_t);
uint8_t requestFrom(int, int);
uint8_t requestFrom(int, int, int);
⌠and the 1.8.7 only has 4 and several instances of the data type uint8_t have been replaced with size_t.
Any thoughts. I am struggling here. I can upload logs or anything else if someone needs more detail to be able to assist.