Subroutines created for the Basic Stamp (BS2)

Support for MOC/MOS/MOI/MOU/X-Board/MOP

Moderator: Mods

Post Reply
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Subroutines created for the Basic Stamp (BS2)

Post by Miles » Mon Apr 04, 2005 2:38 pm

A Work in progress:

LCD_GPO1_ON:
SEROUT 1, 84, [254]
SEROUT 1, 84, [87]
SEROUT 1, 84, [1]
RETURN

LCD_GPO2_ON:
SEROUT 1, 84, [254]
SEROUT 1, 84, [87]
SEROUT 1, 84, [2]
RETURN

LCD_GPO3_ON:
SEROUT 1, 84, [254]
SEROUT 1, 84, [87]
SEROUT 1, 84, [3]
RETURN

LCD_GPO1_OFF:
SEROUT 1, 84, [254]
SEROUT 1, 84, [86]
SEROUT 1, 84, [1]
RETURN

LCD_GPO2_OFF:
SEROUT 1, 84, [254]
SEROUT 1, 84, [86]
SEROUT 1, 84, [2]
RETURN

LCD_GPO3_OFF:
SEROUT 1, 84, [254]
SEROUT 1, 84, [86]
SEROUT 1, 84, [3]
RETURN

LCD_ClearDisplay:
SEROUT 1, 84, [254]
SEROUT 1, 84, [88]
RETURN

LCD_Backlight_ON
SEROUT 1, 84, [254]
SEROUT 1, 84, [66]
SEROUT 1, 84, [0]
RETURN

LCD_Backlight_OFF
SEROUT 1, 84, [254]
SEROUT 1, 84, [70]
RETURN
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest