2013-04-07 06:02:10 +00:00
|
|
|
To use this driver:
|
|
|
|
|
2013-06-20 22:02:54 +00:00
|
|
|
1. Add in your gfxconf.h:
|
2018-02-27 07:44:21 +00:00
|
|
|
a) #define GFX_USE_GINPUT GFXON
|
|
|
|
#define GINPUT_NEED_DIAL GFXON
|
|
|
|
#define GINPUT_NEED_GADC GFXON
|
2013-04-07 06:02:10 +00:00
|
|
|
d) If you are not using a known board then create a ginput_lld_toggle_board.h file
|
|
|
|
and ensure it is on your include path.
|
|
|
|
Use the ginput_lld_dial_board_example.h file as a basis.
|
|
|
|
Currently known boards are:
|
2013-06-20 22:02:54 +00:00
|
|
|
Olimex SAM7-EX256
|
2013-04-07 06:02:10 +00:00
|
|
|
|
|
|
|
2. To your makefile add the following lines:
|
|
|
|
include $(GFXLIB)/drivers/ginput/dial/GADC/ginput_lld.mk
|
|
|
|
include $(GFXLIB)/drivers/gadc/yourGADCdriver/gadc_lld.mk
|