Reading I/O into emWin

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reading I/O into emWin

439 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jeffbelz on Thu May 02 07:00:38 MST 2013

I'm using the emWin interface, but a little confused about how to read an input and make something happen on the screen.  Example:  I have a list box and I want the select an option of that listbox using a couple I/O on the micro.  Up, Down and select would be the input pins.  When I press "Up" I want it to move the selction up.


Really my biggest probelm is where do I put the code to read the input. 

Labels (1)
0 Kudos
2 Replies

372 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by EReyes on Tue May 07 17:45:34 MST 2013

-- double post deleted

0 Kudos

372 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by EReyes on Tue May 07 17:44:48 MST 2013

Take a look at chapter 24 of the emWin manual. Basically you just need to call GUI_StoreKeyMsg from your GPIO interrupt handler.

0 Kudos