Question
regarding storage of values in last two bytes in an array
Hello Folks,
I have connected my STML011G4U7 with ISO7816. In my code I am parsing ATR which is an 8 byte array and sending it. Here I need to measure the voltage from ADC which would be (3.3 V) and store it in the last two bytes of an array. How will I do that?
byte ATR[] = { 0x3B, 0x06, 0x55, 0x63, 0x63, 0x3D, 0x00, 0x00 };
I need to store the value coming from ADC in the last two bytes ADCH and ADCL. How will I do that?