Download GEMstudio User`s Guide

Transcript
Table of Contents
Welcome .....................................................................................................................................................................................4
GEMstudio Topical Guide ...........................................................................................................................................................5
Amulet GEM Font Converter ...............................................................................................................................6
Create LCD Configuration ..................................................................................................................................11
LCD/Board Chooser ...........................................................................................................................................13
Board Profile Editor ...........................................................................................................................................15
Page Functions Editor ........................................................................................................................................17
Href Editor .........................................................................................................................................................24
Amulet Function Calls ...............................................................................................................................................................29
Page Functions ..........................................................................................................................................................................32
Amulet Internal RAM ................................................................................................................................................................33
Amulet Widgets ........................................................................................................................................................................44
Object.................................................................................................................................................................47
Image ..........................................................................................................................................................................48
Animated Image .........................................................................................................................................................49
Static Text ...................................................................................................................................................................50
Control Widgets .................................................................................................................................................51
CheckBox ....................................................................................................................................................................52
CustomButton .............................................................................................................................................................54
CustomSlider...............................................................................................................................................................57
FunctionButton ...........................................................................................................................................................59
List...............................................................................................................................................................................61
PWM ...........................................................................................................................................................................63
RadioButton ................................................................................................................................................................64
Scribble .......................................................................................................................................................................66
Slider ...........................................................................................................................................................................68
Touch Area..................................................................................................................................................................71
View Widgets .....................................................................................................................................................76
BarGraph.....................................................................................................................................................................77
Dynamic Image ...........................................................................................................................................................79
ImageBar.....................................................................................................................................................................80
ImageSequence ..........................................................................................................................................................82
Line Graph ..................................................................................................................................................................84
Line Plot......................................................................................................................................................................86
Linear Guage ..............................................................................................................................................................88
Numeric Field .............................................................................................................................................................90
String Field..................................................................................................................................................................93
Inter-Widget Communication ...................................................................................................................................................96
META Refresh Objects ............................................................................................................................................................105
Amulet Communication Protocols ..........................................................................................................................................110
ASCII Protocol ..................................................................................................................................................111
Graphic Primitives ASCII ...........................................................................................................................................133
CRC Protocol ....................................................................................................................................................136
Graphic Primitives CRC .............................................................................................................................................154
CRC Protocol .............................................................................................................................................................158
Serial Protocol Analyzer ..........................................................................................................................................................159
Amulet Bitmap Format ...........................................................................................................................................................160
Link Map .................................................................................................................................................................................161
Macro Preprocessor ................................................................................................................................................................163
Appendix A - UART Code examples .......................................................................................................................................166
Appendix B - All Commands...................................................................................................................................................178
Appendix C - Inter-Widget Commands ..................................................................................................................................190
Restore Amulet OS .................................................................................................................................................................202