ds pic glcd 4d

57

Upload: paola-nomas-dicen

Post on 01-Jul-2015

109 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ds pic glcd 4d
Page 2: Ds pic glcd 4d
Page 3: Ds pic glcd 4d
Page 4: Ds pic glcd 4d
Page 5: Ds pic glcd 4d
Page 6: Ds pic glcd 4d
Page 7: Ds pic glcd 4d
Page 8: Ds pic glcd 4d
Page 9: Ds pic glcd 4d
Page 10: Ds pic glcd 4d
Page 11: Ds pic glcd 4d
Page 12: Ds pic glcd 4d
Page 13: Ds pic glcd 4d
Page 14: Ds pic glcd 4d
Page 15: Ds pic glcd 4d
Page 16: Ds pic glcd 4d
Page 17: Ds pic glcd 4d
Page 18: Ds pic glcd 4d
Page 19: Ds pic glcd 4d
Page 20: Ds pic glcd 4d
Page 21: Ds pic glcd 4d
Page 22: Ds pic glcd 4d

2.3 Text Commands• The PICASO-SGC is shipped with 4 internal fonts. These fonts can be altered,

deleted and replaced with new • fonts. The FONT-Tool is a free software tool that can assist in the conversion of any

Windows fonts into the • bitmap format that can be used by the PICASO-SGC. The converted font set can

then be exported into the • DISP-Tool utility which can then be downloaded into the PICASO-SGC on-chip flash

memory. Both the • FONT-Tool and the DISP-Tool are available free from www.4dsystems.com.au• Summary of Commands in this section:

– • Set Font – 46hex– • Set Transparent-Opaque Text – 4Fhex– • Draw ASCII Character (text format) – 54hex– • Draw ASCII Character (graphics format) – 74hex– • Draw “String” of ASCII Text (text format) – 73hex– • Draw “String” of ASCII Text (graphics format) – 53hex– • Draw Text Button – 62hex

Page 23: Ds pic glcd 4d
Page 24: Ds pic glcd 4d
Page 25: Ds pic glcd 4d
Page 26: Ds pic glcd 4d
Page 27: Ds pic glcd 4d
Page 28: Ds pic glcd 4d
Page 29: Ds pic glcd 4d
Page 30: Ds pic glcd 4d

2.4 Touch Screen Commands• The following commands are related to Touch Screen

support of the PICASO-SGC and they are described in • this section. • Summary of Commands in this section:– • Get Touch Coordinates - 6Fhex– • Wait Until Touch - 77hex– • Detect Touch Region - 75hex

• Touch screen must be enabled to be able to use the touch commands. To enable touch screen , See

• section 2.1.6.

Page 31: Ds pic glcd 4d
Page 32: Ds pic glcd 4d
Page 33: Ds pic glcd 4d
Page 34: Ds pic glcd 4d

2.5 SD Memory Card Commands (Low-Level/RAW)

• The commands detailed in this section utilise the SD/microSD memory card which must be connected to

• the SPI port of the PICASO-SGC. The memory card is used as the storage medium for all multimedia objects

• such as images, icons, animations and video clips which can be accessed and displayed. The memory card

• can also be used by the host controller as a general purpose storage medium such as data logging

• applications.

• The following commands are related to Low-Level memory card operations and they are described in this

• section.

• Summary of Commands in this section:– • Initialise Memory Card - @69hex

– • Set Address Pointer of Card (RAW) - @41hex

– • Read Byte Data from Card (RAW) - @72hex

– • Write Byte Data to Card (RAW) - @77hex

– • Read Sector Block Data from Card (RAW) - @52hex

– • Write Sector Block Data to Card (RAW) - @57hex

– • Screen Copy-Save to Card (RAW) - @43hex

– • Display Image-Icon from Card (RAW) - @49hex

– • Display Object from Card (RAW) - @4Fhex

– • Display Video-Animation Clip from Card (RAW) - @56hex

– • Run Script (4DSL) Program from Card (RAW) - @50hex

Page 35: Ds pic glcd 4d
Page 36: Ds pic glcd 4d
Page 37: Ds pic glcd 4d
Page 38: Ds pic glcd 4d
Page 39: Ds pic glcd 4d
Page 40: Ds pic glcd 4d
Page 41: Ds pic glcd 4d
Page 42: Ds pic glcd 4d
Page 43: Ds pic glcd 4d
Page 44: Ds pic glcd 4d
Page 45: Ds pic glcd 4d
Page 46: Ds pic glcd 4d
Page 47: Ds pic glcd 4d
Page 48: Ds pic glcd 4d
Page 49: Ds pic glcd 4d
Page 50: Ds pic glcd 4d
Page 51: Ds pic glcd 4d
Page 52: Ds pic glcd 4d
Page 53: Ds pic glcd 4d
Page 54: Ds pic glcd 4d
Page 55: Ds pic glcd 4d
Page 56: Ds pic glcd 4d
Page 57: Ds pic glcd 4d