On the 7 segment display of the operator interface, it will display the value that you choose.
Last year, that display could show team number, channel number, and battery voltage. Now it can display those as well as the user display.
The following code is where you set which variable is to be displayed:
Quote:
if user_display_mode = 0 then 'User Mode is Off
'CODE DELETED FOR CLARITY
else 'User Mode is ON
out8 = p1_y.bit0 ' Set ouput bits to display p1_y variable
out9 = p1_y.bit1
out10 = p1_y.bit2
out11 = p1_y.bit3
out12 = p1_y.bit4
out13 = p1_y.bit5
out14 = p1_y.bit6
out15 = p1_y.bit7
endif
|
Change the p1_y to any byte variable to display it.