completely rewrite the driver.

using one class to descripe two kinds of display.
add two displays used simultaneously example.
use : setTubeType() to select which type of display is going to be used.
add : add comment ,modify configuration files.
This commit is contained in:
downeyboy
2019-07-03 14:21:35 +08:00
parent 9f486dc735
commit 76fc3bab28
13 changed files with 394 additions and 571 deletions

View File

@@ -1,16 +1,17 @@
#######################################
# Syntax Coloring Map For Grove - Four Digital Tubes Display
# Syntax Coloring Map For Grove -alphanumeric display
#######################################
#######################################
# Datatypes (KEYWORD1)
#######################################
Matrix_8x8 KEYWORD1
Seeee_Digital_Tube KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
init KEYWORD2
setTubeType KEYWORD2
setBlinkRate KEYWORD2
setBrightness KEYWORD2
displayString KEYWORD2