XMOS SliceKit GPIO Gpio Example Applications page 21

Table of Contents

Advertisement

SliceKit GPIO Example Applications
//:: State
REV A
}// select
}// skip
21/24
}
if ( !
button1_press
!
button2_press
)
{
}
button1_press
=0;
button2_press
=0;
break ;
}
if ( data != EXIT ) // Exits
from command mode
{
u a rt _ tx _ s e n d _ by t e
( c_uartTX ,
'\r ') ;
u a rt _ tx _ s e n d _ by t e
( c_uartTX ,
'\n ') ;
u a rt _ tx _ s e n d _ by t e
( c_uartTX ,
' > ') ;
}
break ;
Dipslays
Button
2
is
pressed
&&
uart _tx_s tring
(
c_uartTX
,
CO N SO L E_ M
[5])
;
//
Displays
No
Buttons
are
pressed

Advertisement

Table of Contents
loading

This manual is also suitable for:

Slicekit

Table of Contents