Im reading a 2 dimentional file from si446x_patch.h however the values are incorrect compared to the values from the patch file #include "si446x_patch.h"
const byte Si446xPatchCommands[][8] PROGMEM ={SI446X_PATCH_CMDS};
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println((sizeof(Si446xPatchCommands))/8, DEC);
for (int i = 0; i < sizeof(Si446xPatchCommands)/8; i++){
for (int j = 0; j < 8 ; j++){
Serial.print(Si446xPatchCommands*[j],HEX);*
Serial.print(" ");*
}*
Serial.println();* }
} void loop() { // put your main code here, to run repeatedly: } _____________________________________ 0x04,0x11,0xF7,0x76,0x00,0x00,0xA6,0x82 patch file 0 0 B8 0 0 0 1 0 output si446x_patch.h (12.7 KB)