aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/dial/GADC/readme.txt
blob: 5bfce2ec8748d842ddcb23c1136a17f1104020aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
To use this driver:

1. Add in your gfxconf.h:
	a)  #define GFX_USE_GINPUT		GFXON
		#define GINPUT_NEED_DIAL	GFXON
		#define GINPUT_NEED_GADC	GFXON
	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