Skip to content

Commit 9f6ceca

Browse files
committed
Coding UTFT + UTouch support
customizing Stream characters Enter/Esc/Up/Down completly messed LCD and GFX... what? Field are still a mess on UTFT
1 parent 14657b4 commit 9f6ceca

File tree

10 files changed

+106
-356
lines changed

10 files changed

+106
-356
lines changed

chainStream.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class chainStream:public Stream {
3131
for(int n=0;n<N;n++)
3232
if (streams[n]->available()) {
3333
int key=streams[n]->read();
34+
if (key==-1) return -1;
3435
while(streams[n]->peek()==key) streams[n]->read();//wait for key release
3536
return key;
3637
}

examples/I2C_menu/I2C_menu.ino

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/********************
2+
Arduino generic menu system
3+
Arduino menu on I2C LCD example
4+
http://www.r-site.net/?at=//op%5B%40id=%273090%27%5D
5+
6+
Sep.2014 Rui Azevedo - ruihfazevedo(@rrob@)gmail.com
7+
creative commons license 3.0: Attribution-ShareAlike CC BY-SA
8+
This software is furnished "as is", without technical support, and with no
9+
warranty, express or implied, as to its usefulness for any purpose.
10+
11+
Thread Safe: No
12+
Extensible: Yes
13+
14+
LCD library:
15+
https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
16+
http://playground.arduino.cc/Code/LCD3wires
17+
*/
118
#include <Wire.h>
219
#include <LiquidCrystal_I2C.h>
320
#include <menu.h>//menu macros and objects

examples/LCD_menu/LCD_menu.ino

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
/******************
1+
/********************
2+
Arduino generic menu system
23
LCD menu - unsing arduino classic LCD library
3-
Rui Azevedo 2014
4-
ruihfazevedo@[email protected]
5-
********/
4+
http://www.r-site.net/?at=//op%5B%40id=%273090%27%5D
5+
6+
Sept.2014 Rui Azevedo - ruihfazevedo(@rrob@)gmail.com
7+
creative commons license 3.0: Attribution-ShareAlike CC BY-SA
8+
This software is furnished "as is", without technical support, and with no
9+
warranty, express or implied, as to its usefulness for any purpose.
10+
11+
Thread Safe: No
12+
Extensible: Yes
13+
14+
*/
615
#include <HardwareSerial.h>
716
#include <LiquidCrystal.h>
817
#include <menu.h>//menu macros and objects

examples/gfx_menu/gfx_menu.ino

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1-
/******************
1+
/********************
2+
Arduino generic menu system
23
GFX menu - unsing adafruit gfx screens
4+
http://www.r-site.net/?at=//op%5B%40id=%273090%27%5D
5+
6+
Sept. 2014 Rui Azevedo - ruihfazevedo(@rrob@)gmail.com
7+
8+
creative commons license 3.0: Attribution-ShareAlike CC BY-SA
9+
This software is furnished "as is", without technical support, and with no
10+
warranty, express or implied, as to its usefulness for any purpose.
11+
12+
Thread Safe: No
13+
Extensible: Yes
14+
15+
Adafruit GFX library from:
16+
https://learn.adafruit.com/adafruit-gfx-graphics-library/overview
17+
Display ST7735 driver
18+
http://www.adafruit.com/product/358
19+
***/
20+
/******************
321
Rui Azevedo 2014
422
ruihfazevedo@[email protected]
523
********/

examples/menu_test/menu_test.ino

Lines changed: 0 additions & 312 deletions
This file was deleted.

0 commit comments

Comments
 (0)