Hi, I'm working on battery powered device. I need to extract 4 digits from word variable.
PORTA.4=1
TmpB=Pressure DIG 3
PORTA.4=0
Looking on my scope it takes 985uS to calculate digit.
TmpB=Pressure DIG 0 takes 245uS...
So for 4 digit it need 2.464mS.
ARRAYWRITE Str,[DEC4 Pressure]
This is little faster, it takes 2.295mS to execute. But I think it could be done faster...
Does anyone have idea how to implement it faster?
I'm goggling for algorithm...
Bookmarks