in my case i do not use the trackbar, but the LED digits as shown below.
In the software 4D SYstems they have, you can set manually a number for example 167, and will show you the command as shown in the SET DIGIT VALUE:
I have tried to give manually a constant number and it worked!
what i did is:
i set a new var mTEMP ' for manually hex number and
a new var mTEMPIR ' for manually hex number as well.
In our case the number 167 for:
then i did the CS calculation and return to the HSEROUT command.Code:mTEMP = $00 mTEMPIR = $a7
I placed it with:Code:IRCS=0 IRCS= $01^$0F^$00^mTEMP IRCS = IRCS ^ mTEMPIR
then i got the right result on the display.Code:HSEROUT [$01,$0F,$00,mTEMP,mTEMPIR,IRCS)
The problem is that when i use the variables i cannot get the right values.




Bookmarks