Hello everyone, I have a question:
Does the Adafruit_AMG88xx library use instructions only available to an AVR-architecture controller? In other words, is the library applicable for the Arduino UNO R4?
Background of my question: I’am using the GridEye with an Arduino UNO R4.
On the statement T = grideye.getPixelTemperature(pixnum); -99 is returned.which is the code for a read error.
Before using the UNO R4, I used an UNO R3. That worked ok, only rather slow.
Can you help me out? Thank you in advance.
Frans
The Adafruit forum would be a better place to ask questions about Adafruit products. However, the library is written in C/C++ and does not appear to assume use of any particular processor.
Thank you for your answer Jremington, I mentioned the Adafruit library. That was a mistake, I meant the Sparkfun library. Sorry. It has to do with the display in my project, Adafruit library.
I saw that the Sparkfun library is also written in C++.
I’ll have to look further in it.
Thanks again.
The library date is irrelevant and the Sparkfun library code makes no assumptions about the processor.
It is possible that minor modifications to the library might be needed for the R4, but you won’t know until you have installed the library and tried one of the examples.
Hello Jremington and PaulZC, I tried a scanner program on the UNO R4 → No adress found.
I tried the same on the UNO R3 → Adress 0x69 was found.
I also tried Example4 on the UNO R3. It works ok. I also measured the SDA and CLK signals. They are in good shape.
I tried example4 on the UNO R4. Foutcodes -99. No signals; SDA = HIGH and CLK = Low.
I saw that the compiler gives some Warnings. They are about the bufferlenght for I2C.
They are changed to 255 and back to 32. It has to do with using the UNO R4.
I do not understand why. The Sparkfun library and the IDE library are involved in this.
It are warnings and the sketch is running, it displays the error codes.
I’m going to check if the same warning appear when compiling example4.
By the way; The 5V on the UNO pins is reduced to 3.3 V
No, the compiler gives an error message ‘Wire 1 not declared in this scope’.
I checked the manuals of the Minima and also of the WIFI.
The WIFI has the possibility for an Qwiic connection, The Minima doesn’t have that.
Hello PaulZC,
I found no Qwiic connector on my R4 WiFi but I did modifie ‘Wire’ into ‘Wire1’ in my sketch. The compiler gave error messages, ‘Wire1 not declared in this scope’ . I should have told you this earlier, sorry.
Now I have read in the manuals that the WiFi has a Qwiic connection and the Minima has not. So the Minima has just one I2C connection.
I keep looking for a solution.
Frans
I have read in the manuals that the WiFi has a Qwiic connection and the Minima has not. So the Minima has just one I2C connection. That will be the reason that the compiler does not recognize ‘Wire1’.
I will post the code of example4 with the output for both situations ; with UNO R4 and UNO R3.