a00E8 byte 'Light Sensor'
getin [b]uw002D[/b], ub006D, NormalizedValue
mov c00BE.a00C0, a00E8
mov c00BE.uw00C2, [b]uw002D[/b]
syscall ComputeCalibValue, c00BE
mov [b]uw002D[/b], c00BE.uw00C2
sw001E sword 1023
a00D6 byte 'Light Sensor'
a00D8 byte 0x0
mov c0086.a0088, a00D8
mov c0086.uw008A, sw001D
mov c0086.uw008B, sw001E
syscall UpdateCalibCacheInfo, c0086
comfortable, easy + trouble-free network & remote control for rs485, Xbee, BT, USB
v: current ADC_raw
low: min test-range ADC_raw
high: max test-range ADC_raw
I would love to plug in some NXC light sensor calibration and read calibrated value functions into the official API headers and online documentation if anyone (hint, hint) wanted to provide me with some nice ones.
Users browsing this forum: No registered users and 0 guests