User manual

mikroBasic PRO for PIC32
MikroElektronika
529
‘ * If RB10 is pressed, display only text panel
else
if (RB10_bit <> 0) then
T6963C_graphics(0)
T6963C_text(1)
Delay_ms(300)
‘ * If RB11 is pressed, display text and graphic panels
else
if (RB11_bit <> 0) then
T6963C_graphics(1)
T6963C_text(1)
Delay_ms(300)
* If RB12 is pressed, change cursor
else
if(RB12_bit <> 0) then
Inc(curs)
if (curs = 3) then
curs = 0
end if
select case curs
case 0
‘ no cursor
T6963C_cursor(0)
case 1
‘ blinking cursor
T6963C_cursor(1)
T6963C_cursor_blink(1)
case 2
‘ non blinking cursor
T6963C_cursor(1)
T6963C_cursor_blink(0)
end select
Delay_ms(300)
end if
‘*
‘* If RB13 is pressed, perform the “Partial image” demonstration
‘*
#IFDEF PARTIAL_IMAGE_DEMO
if( RB13_bit = 1) then
T6963C_setGrPanel(0)
T6963C_setTxtPanel(0)
T6963C_txtFill(0)
T6963C_setGrPanel(1)
T6963C_setTxtPanel(0)
T6963C_graphics(1)
T6963C_text(1)