Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

voltage float hex value

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.12 sec, absolute running time: 0.18 sec, cpu time: 0.01 sec, memory peak: 3 Mb, absolute service time: 0,56 sec 
edit mode |  history  | discussion
hex word will be less than 16.5v so we need to add 1 
voltage mv [14235], charger hex value  [0x265]  
voltage_word:  [0x0265] 
voltage_word_shifted: [0x04CA] 
break up into high/low bytes: [0x04] [0xCA]
current register value: [0xA0] [0xD6]
new register value:     [0xA4] [0xCA]

    
                
λ
.NET NoSQL database for rapid development