×

SparkFun will be closing early at 3:30 Friday 5/27 and remain closed Monday for Memorial Day (5/30). Orders placed after 2pm MT on Friday (5/27) will process and ship out on Tuesday (5/31).

Member #17164

Member Since: March 24, 2007

Country: United States

  • Not sure if there might be a slight bug in the ATMega examples. I’ve been looking at the slave configuration and noticed that the array initialisation is not big enough for the indexing that is later used:

    uint8_t setup[4];
    
    setup[0] = 0xa4;
    setup[1] = 0x01;
    setup[2] = 0x4b;
    setup[3] = 0x00;
    setup[4] = 0xee;
    

    It appears that setup is initialised with 4 positions yet 5 values are written.

No public wish lists :(