ugfx/drivers/ginput/dial/GADC
Andrew Hannam 9ee7c284e6 Add GINPUT Dial, simplify GWIN input assignment
Added GINPUT Dial support and a driver that uses GADC to read the dial.
Added support for Dial inputs to the GWIN slider.
Updated the slider demo for Dial Inputs.
Simplified the assigning of inputs to GWIN "widgets" button and slider.
Updated the demo's to match the new input to button assignment.
2013-04-07 16:02:10 +10:00
..
ginput_lld.mk Add GINPUT Dial, simplify GWIN input assignment 2013-04-07 16:02:10 +10:00
ginput_lld_dial.c Add GINPUT Dial, simplify GWIN input assignment 2013-04-07 16:02:10 +10:00
ginput_lld_dial_board_olimexsam7ex256.h Add GINPUT Dial, simplify GWIN input assignment 2013-04-07 16:02:10 +10:00
ginput_lld_dial_config.h Add GINPUT Dial, simplify GWIN input assignment 2013-04-07 16:02:10 +10:00
readme.txt Add GINPUT Dial, simplify GWIN input assignment 2013-04-07 16:02:10 +10:00

readme.txt

To use this driver:

1. Add in your halconf.h:
	a)  #define GFX_USE_GINPUT		TRUE
		#define GINPUT_NEED_DIAL	TRUE
		#define GINPUT_NEED_GADC	TRUE
	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:
		 	Olimex SAM7-EX256

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