Andy Lucky
/
AMG3x3
test amg3x3
Diff: main.cpp
- Revision:
- 0:72fe4e323c03
- Child:
- 1:dff8f3f6e852
diff -r 000000000000 -r 72fe4e323c03 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sat Sep 12 14:49:48 2020 +0000 @@ -0,0 +1,17 @@ +#include "mbed.h" +#include "AMG8833.h" + +Adafruit_AMG88xx amg(I2C_SDA, I2C_SCL); + +float pixels[AMG88xx_PIXEL_ARRAY_SIZE]; + +int main() { + wait(0.01); + + //read all the pixels + amg.readPixels(pixels); + + wait(0.10); +} + +