test amg3x3

Dependencies:   mbed AMG8833lib

main.cpp

Committer:
lucky28
Date:
2020-09-12
Revision:
0:72fe4e323c03
Child:
1:dff8f3f6e852

File content as of revision 0:72fe4e323c03:

#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);
}