Commit Graph

340 Commits

Author SHA1 Message Date
Dmytro Milinevskyy
8c54efc155 ginput/touch/MCU Olimex PIC32 LCD board file 2013-04-10 01:07:31 +02:00
Joel Bodenmann
b2a67d818b some doxygen fixes 2013-04-08 00:24:45 +02:00
Tectu
1d24b6977d Merge pull request #63 from inmarket/master
GINPUT Dial. Simplify input -> GWIN widget assignment
2013-04-07 02:59:42 -07:00
Tectu
05aebebb8b Merge pull request #62 from niamster/master
A fix in pic32mx LLD for ILI9320
2013-04-07 02:59:22 -07:00
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
Dmytro Milinevskyy
e51d3591ad [ILI9320][olimex][pic32] extra dummy read after index write 2013-04-07 06:37:05 +02:00
Tectu
22e7150f2d Merge pull request #61 from mobyfab/master
ADS7843 - Macro for Inverted touchpad
2013-04-06 15:01:36 -07:00
mobyfab
6a7e33db9b Added the GINPUT_MOUSE_YX_INVERTED macro. 2013-04-05 23:56:47 +02:00
Dmytro Milinevskyy
dc14f8713e [ILI9320] LLD for olimex pic32 demo board 2013-04-05 22:33:52 +02:00
Dmytro Milinevskyy
d1448817cd [ILI9325] read LCD version 2013-04-05 22:33:52 +02:00
Dmytro Milinevskyy
2ad62e1ed7 [ILI9320/ILI9325] use correct lld accessor to read the data from the LCD 2013-04-04 23:59:41 +02:00
mobyfab
55d41fe007 SSD1963 - Removed unused function that what using an inline macro. 2013-04-04 19:22:07 +02:00
mobyfab
e400fd01e2 SSD1963 Driver - Removed old config files 2013-04-04 16:50:09 +02:00
mobyfab
348868cece Fixed SSD1963 Driver to work with latest GDISP. 2013-04-04 16:47:47 +02:00
Mateusz Tomaszkiewicz
17a17421b4 SSD2119: readme fix 2013-04-04 00:21:10 +02:00
Joel Bodenmann
8b21c08096 ILI9320 fix 2013-04-03 18:02:38 +02:00
Abhishek Kumar
674bcb52d2 GPIO interface-related fixes
Adding acquire_bus() and release_bus()
so that orientation setting commands are
not ignored.
2013-03-30 16:08:47 +05:30
Joel Bodenmann
f938c72044 STMPE811 tweaks 2013-03-29 20:19:35 +01:00
Joel Bodenmann
6ed641c91d STMPE811 cleanup & readme 2013-03-29 19:26:56 +01:00
Joel Bodenmann
4440c2c887 STMPE811 getpin_pressed() -> getpin_irq() 2013-03-29 18:17:24 +01:00
Joel Bodenmann
2510f3e75b board file fix 2013-03-29 18:14:35 +01:00
Joel Bodenmann
d6b75429b2 STMPE811 - initial 2013-03-29 18:10:22 +01:00
Mateusz Tomaszkiewicz
2f7b6fc80b STMPE811: attempt to use FIFO
Very early version of using FIFO threshold interrupt.
2013-03-29 01:15:07 +01:00
Mateusz Tomaszkiewicz
dd1eb6c63d STMPE811: working reading, writing and interrupt
- Slightly changed rading and writing routines.
- Added delay after reset of STMPE811 in initialization code.
- STMPE811 "interrupt service routine"
- Comments, formatting etc.
- Another commit with unfinished driver.
2013-03-25 01:10:32 +01:00
Mateusz Tomaszkiewicz
15d76cb5fc SSD1289 SSD2119: fixed warning messages
Few type castings in order to suppress warnings (-Wsign-compare):
"comparison between signed and unsigned integer expressions"
"signed and unsigned type in conditional expression"
2013-03-20 22:15:18 +01:00
Mateusz Tomaszkiewicz
5062603188 STMPE811: reading registers over I2C
- Reading works.
- Some other cleanups.

Driver is not usable yet.
2013-03-20 02:42:43 +01:00
Joel Bodenmann
38e55c3921 STMPE811 - not tested yet 2013-03-19 22:59:04 +01:00
Joel Bodenmann
88765396bf SSD1963 rework by user: fred 2013-03-14 19:46:40 +01:00
Joel Bodenmann
426a12de6b doxygen fixes 2013-03-10 20:17:24 +01:00
Joel Bodenmann
f552098116 embest DMSTF4BB board fix - removed FSMC suffix because only FSMC exists 2013-03-08 09:20:51 +01:00
Joel Bodenmann
e9cb6aa17a small cleanup 2013-03-08 06:36:33 +01:00
Mateusz Tomaszkiewicz
4a056ae25f STMPE811: comment fix 2013-03-08 02:11:27 +01:00
Mateusz Tomaszkiewicz
27290b5f85 STMPE811: added header with registers addresses
Also changed filename of board file  from *_embest_lcd.h to
*_embest_dmstf4bb.h.
2013-03-08 02:02:18 +01:00
Joel Bodenmann
0400ba0e2d added basic STMPE811 skeleton 2013-03-08 00:56:59 +01:00
Andrew Hannam
ce5f3b3d70 Nokia6610GE8 driver updates
Fix screen size to ignore hidden pixels.
Add orientation support.
Fix bit blitting boundary conditions.
Add power modes support.
This driver is now fully implemented.
2013-03-08 00:53:34 +10:00
Andrew Hannam
4e67b54e4d Fix Olimex SAM7EX256 button definitions 2013-03-08 00:50:39 +10:00
Andrew Hannam
40534cbc79 Correction of copyright message 2013-03-08 00:49:52 +10:00
Joel Bodenmann
e315480c71 updated copyright - 2013 2013-03-06 23:11:01 +01:00
Joel Bodenmann
b91e619573 __inline becomes inline because most compilers dont like the prefix 2013-03-04 23:50:21 +01:00
Andrew Hannam
2d7c95d20a Add PWM backlight control to Nokia6610GE8
Add PWM backlight control to Nokia6610GE8 for the Olimex SAM7EX256
board.
2013-03-04 19:56:46 +10:00
Joel Bodenmann
b51342d41c ILI9320 update 2013-03-03 13:46:14 +01:00
Joel Bodenmann
100d686f94 TDISP update 2013-03-02 22:13:44 +01:00
Mateusz Tomaszkiewicz
b1f9054998 Merge branch 'SSD2119' 2013-03-02 13:33:57 +01:00
Mateusz Tomaszkiewicz
7ba69f556b SSD2119: readme fix 2013-03-02 13:33:19 +01:00
Mateusz Tomaszkiewicz
3863ef8374 Merge branch 'SSD2119' 2013-03-02 13:31:51 +01:00
Mateusz Tomaszkiewicz
57f1016573 SSD2119: GPIO board file removal
Removed GPIO board file. It did not work (it wasn't finished nor started
to be honest). It is always possible to make it, general idea is exactly
the same as in SSD1289 driver.
2013-03-02 00:32:51 +01:00
Mateusz Tomaszkiewicz
2bc2dc6f68 SSD2119: updated scroll function name
Changed to new scheme: gdisp_lld_*.
2013-03-01 22:54:52 +01:00
Andrew Hannam
6ee8b005ae GAUDIN implemented with GADC driver 2013-03-01 09:04:52 +10:00
Mateusz Tomaszkiewicz
e5543face9 SSD2119: orientation control
All angles supported: 0, 90, 180, 270.
2013-02-28 00:31:46 +01:00
Mateusz Tomaszkiewicz
bbdd57d9c1 SSD2119: power control
All modes are working: powerOff, powerOn, powerSleep and powerDeepSleep.
2013-02-25 00:35:13 +01:00
Mateusz Tomaszkiewicz
51b292d3b9 SSD2119: PWM period change
100 kHz PWM period made small induction coil onboard LCD to moan if the
pulse width was smaller than 100%. I changed it to 1MHz.
2013-02-22 00:54:11 +01:00
Mateusz Tomaszkiewicz
cec4628a97 SSD2119: backlight control
- Backlight uses PWM on TIM4 CH2.
- Updated readme.
- Updated gdisp_lld.c: moved from lld_gdisp_* to gdisp_lld_* functions
  names format.
- One forgotten GDISP_LLD() macro removal.
- General code cleanup (make diff with -w parameter ;))
2013-02-21 22:46:47 +01:00
Mateusz Tomaszkiewicz
d9a92aa30c Merge branch 'master' into SSD2119 2013-02-19 23:30:33 +01:00
Andrew Hannam
9bec5967b2 GADC implementation with demo program
Also includes driver for AT91SAM7 cpu
2013-02-18 17:33:35 +10:00
Andrew Hannam
2ed57aea77 TDISP to take ROWS and COLUMNS from board file
TDISP to take ROWS and COLUMNS from board file
2013-02-18 17:31:49 +10:00
Andrew Hannam
9329b22086 Fix compile error in GDISP
Fix compile error with wrongly named include file
Revert lld_gdisp naming convention to gdisp_lld to fix problem and be
consitant with all other low level drivers.
2013-02-18 17:29:08 +10:00
Joel Bodenmann
08f2305aeb TDISP merge - NOT TESTED!!! 2013-02-18 08:18:09 +01:00
Mateusz Tomaszkiewicz
dd79671730 SSD2119: GDISP_LLD() macro removal 2013-02-13 22:02:13 +01:00
Mateusz Tomaszkiewicz
e8ce8a36fb Merge branch 'master' into SSD2119 2013-02-13 21:38:31 +01:00
Joel Bodenmann
60b16e8685 more GDISP_LLD() cleanup 2013-02-11 10:26:34 +01:00
Joel Bodenmann
1bfc5a9f85 removed GDISP_LLD() macro - fix 2013-02-11 09:25:45 +01:00
Joel Bodenmann
885b3d53b3 removed GDISP_LLD() macro 2013-02-11 09:25:26 +01:00
Mateusz Tomaszkiewicz
c42602375b SSD2119: code & comments cleanup 2013-02-07 16:01:07 +01:00
resset
2de39e3302 SSD2119: reorganization of files
- Added FSMC board file (_fsmc suffix) - working.
- Added GPIO board file (no suffix) - not working.
- Removed unneeded files.
2013-02-07 01:44:00 +01:00
resset
e097426338 SSD2119: first working version of driver
It is a mix of barely changed few drivers already present in ChibiOS/GFX
project. No other routines than initialization ones were changed.
Properly displays "basics" demo.

Main features and changes:
- Based on SSD1289 and SSD1121 in FSMC mode.
- Uses FSMC module. Maybe oneday I will make GPIO version.
- LCD backlight PWM input is tied high (no timer yet).
- Added ssd2119.h with SSD2119 registers' addresses.
- Updated set_cursor and set_viewport functions. Not thoroughly tested,
  however.
- Rewritten GDISP_LLD(init)(void) function.
2013-02-05 23:39:48 +01:00
resset
cb81a0f3fc SSD2119: created board file
Created board support file for Embest DM-STF4BB board with DM-LCD35RT
LCD module. You simply plug STM32F4DISCOVERY into it.
2013-01-26 22:57:39 +01:00
resset
5e40c336f2 initial commit: copy sources from SSD1289
I started project of new driver: SSD2119. This work is based on SSD1289.
I don't know exactly if this one is the most similar to my one. It's
just an experiment. There is no accompanying board file of any flavor,
but the hardware lying on my desk is Embest DM-STF4BB with DM-LCD35RT
LCD module.

Changes already made:
- Copied entire drivers/gdisp/SSD1289 directory into
  drivers/gdisp/SSD2119.
- Changed every occurrence of "SSD1289" to "SSD2119" in each source
  file.
2013-01-26 21:53:16 +01:00
Andrew Hannam
1985906bea TDISP cleanup
Seperate High level and low level code better
Implement tdispControl
Cleanup
2013-01-19 03:00:05 +10:00
Joel Bodenmann
7d1dcb0d08 TDISP cleanup 2013-01-17 09:16:59 +01:00
Joel Bodenmann
1a05e4a89a some more TDISP cleanup 2013-01-16 15:20:47 +01:00
Joel Bodenmann
a278e1c113 removed internal TDISP_LLD() macro 2013-01-16 10:37:56 +01:00
Joel Bodenmann
1f1dd62687 TDISP update 2013-01-16 10:27:42 +01:00
Joel Bodenmann
1c1b3c8d74 TDISP: added custom character routine 2013-01-12 09:38:38 +01:00
Joel Bodenmann
66bb4ecb85 Merge branch 'tdisp' 2013-01-11 15:04:40 +01:00
Joel Bodenmann
dae721900b small doxygen fixes 2013-01-11 19:39:36 +01:00
Joel Bodenmann
77a93bb43d TDISP update 2013-01-10 15:03:34 +01:00
Joel Bodenmann
d5e7afe756 4-bit mode implemented 2013-01-10 14:51:31 +01:00
Joel Bodenmann
6cc67bad84 some TDISP doxygen 2013-01-10 19:47:50 +01:00
Joel Bodenmann
a2a87ddd45 added TDISP - experimental 2013-01-09 14:29:32 +01:00
Joel Bodenmann
7a66e63849 cleanup 2013-01-03 18:06:48 +01:00
Joel Bodenmann
7dec36d56d added ILI9325 driver. Thanks to Chris van Dongen aka _Sjaak 2013-01-03 16:20:52 +01:00
Andrew Hannam
5bdab7a8a8 Fixes for the SSD1289 driver
Put aquire_bus() and release_bus() in the right place in the control
routine.
Simplify reset_viewport().
A couple of other simple tidyups.
2012-12-20 18:33:43 +10:00
Joel Bodenmann
a520a32209 more doxygen 2012-12-18 23:15:47 +01:00
Joel Bodenmann
756a79a2cc XPT2046 removed 2012-12-18 22:06:17 +01:00
Joel Bodenmann
8bc7b22ce7 doxygen 2012-12-18 22:04:35 +01:00
Joel Bodenmann
4f1af08bd4 added Olimex STM32 E407 touchscreen file 2012-12-18 20:06:52 +01:00
Joel Bodenmann
e1de308dfa ginput doxygen 2012-12-18 20:06:10 +01:00
etmatrix
3c1d87ee4f - clear function: moved call to reset_viewport after aquire_bus, so LCD receive the new viewport
- control function: added call to acquire_bus and release_bus
2012-12-17 22:15:18 +01:00
Joel Bodenmann
f115d43753 SSD1289 calibration clear fix 2012-12-17 22:33:00 +01:00
etmatrix
e39e9e7604 correct typo 2012-12-17 21:23:23 +01:00
Joel Bodenmann
69c2c7ef91 dirty dirty dirty very very dirty reset_viewport for mouse calibration fix 2012-12-17 00:27:01 +01:00
Joel Bodenmann
d47cf26d31 SSD1289 reset_viewport quick fix 2012-12-17 00:16:15 +01:00
Joel Bodenmann
58b9938db2 typo fix - thanks to etmatrix 2012-12-16 23:11:08 +01:00
Joel Bodenmann
8d048ea4e2 removed touchscreen drivers 2012-12-16 23:10:16 +01:00
Andrew Hannam
c0f68cd748 Fix header files for ginput touch drivers 2012-12-08 13:09:56 +10:00
Andrew Hannam
5873d87ca2 Add GDISP font routines. Fix demo bugs
Add GDISP font routines to Open and Close a font by name.
Allows wildcard searching for fonts.
Old global font variables are now only optionally included (soon to be
deprecated).
More demo fixing
2012-12-07 00:52:01 +10:00
Andrew Hannam
07f3483535 Restructure
Create global include file called gfx.h which knows about sub-system
dependancies.
Deprecate Touchscreen (GINPUT touch is now working properly)
Merge Graph into GWIN
Change directory structure to reflect sub-system structure
Many small bugs fixed
Split Nokia6610 gdisp driver into GE8 and GE12 controller versions
Fixed broken demos.
GFX sub-systems are now clearly defined and new ones should be much
easier to add.
2012-12-06 18:45:54 +10:00
Joel Bodenmann
537f76bedf ILI9320 fix 2012-12-02 16:06:15 +01:00
Joel Bodenmann
2d449b1f7c fix 2012-12-02 15:36:55 +01:00
Joel Bodenmann
ae7da0770b GINPUT MCU driver update 2012-12-02 15:26:14 +01:00