Merge pull request #73 from joshuaflanagan/example_script_variables
Stop requiring editing of example scripts
This commit is contained in:
commit
38516d5342
3 changed files with 20 additions and 5 deletions
|
@ -110,7 +110,10 @@ class STLcdGraphic:
|
|||
return display
|
||||
|
||||
|
||||
filename = "ic_logo_lcd.bmp"
|
||||
filename = sys.argv[1]
|
||||
if filename is None:
|
||||
print( "You must specify a bitmap filename. Try './bitmap2Struct.py ic_logo_lcd.bmp'" )
|
||||
sys.exit( 1 )
|
||||
max_height = 32
|
||||
max_width = 128
|
||||
x_offset = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue