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.
25 lines
618 B
Plaintext
25 lines
618 B
Plaintext
#######################################
|
|
# Syntax Coloring Map For Grove -alphanumeric display
|
|
#######################################
|
|
|
|
#######################################
|
|
# Datatypes (KEYWORD1)
|
|
#######################################
|
|
Seeee_Digital_Tube KEYWORD1
|
|
|
|
#######################################
|
|
# Methods and Functions (KEYWORD2)
|
|
#######################################
|
|
init KEYWORD2
|
|
setTubeType KEYWORD2
|
|
setBlinkRate KEYWORD2
|
|
setBrightness KEYWORD2
|
|
displayString KEYWORD2
|
|
displayNum KEYWORD2
|
|
|
|
#######################################
|
|
# Constants (LITERAL1)
|
|
#######################################
|
|
|
|
|