mirror of
https://github.com/eddyem/STM8_samples.git
synced 2026-03-21 01:00:57 +03:00
readme
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
function u = U(ADU)
|
||||
adu = uint32(ADU)
|
||||
adu *= 3584
|
||||
adu *= 35840;
|
||||
adu = bitshift(adu, -17);
|
||||
u = uint32(10*adu);
|
||||
u = uint32(adu);
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user