Picaxe OLED |
|
To gain access to revision questions, please sign up and log in.
When this was written, this OLED display was cheaper than similar LCD displays!
Build this circuit and copy and paste the code below.

; ===========================
; ===== OLED / LCD TEST =====
; ===========================
SETFREQ M4
CALL WAIT1000MS
START:
CALL blank
CALL WAIT1000MS
CALL TESTTEXT
CALL WAIT1000MS
JMP START
; ======================================
; A subroutine to blank both lines.
; ======================================
blank:
serout 7, N2400, (254, 128) ' Blank First Line
serout 7, N2400, (" ")
serout 7, N2400, (254, 192) ' Blank Second Line
serout 7, N2400, (" ")
ret
; ======================================
; ======================================
; A subroutine to show some test text.
; ======================================
TESTTEXT:
serout 7, N2400, (254, 128) ' First Line
serout 7, N2400, ("0123456789ABCDEF")
serout 7, N2400, (254, 192) ' Second Line
serout 7, N2400, ("FEDCBA9876543210")
ret
; ======================================
reviseOmatic V3 Contacts, ©, Cookies, Data Protection and Disclaimers Hosted at linode.com, London