convert from hex to decimal Arduino
问题 I am extracting the weight of a Reach Stacker , for the moment this is my result : get data from ID: 18FFF227 2 1 F0 3C 0 0 1 0 what I need is to take F0 3C 0 0 and change it to 0 0 3C F0 then convert it to number to decimal. 003CF0 = 15600 according to this page: enter link description here this would be my number in decimal 15600 this my code : #include <SPI.h> #include "mcp_can.h" #include <SoftwareSerial.h> SoftwareSerial mySerial (3,2); // the cs pin of the version after v1.1 is default