the old fart
Senior Member
Hi Guys,
Can someone tell me what I'm doing wrong?
08M2 pin C.0 to OLED display. also tried on C.1, with same result.
location on oled is correct, the 'p' is displayed followed by the wrong characters.
clear screen command not always working.
add setfreq m4 but still the same.
If I connect the display to a 20x2 or a 40x2 it works as required.
voltage to oled measured at 5vdc.
thanks
TOF
Can someone tell me what I'm doing wrong?
08M2 pin C.0 to OLED display. also tried on C.1, with same result.
location on oled is correct, the 'p' is displayed followed by the wrong characters.
clear screen command not always working.
add setfreq m4 but still the same.
If I connect the display to a 20x2 or a 40x2 it works as required.
voltage to oled measured at 5vdc.
Code:
; *******************************
; ***** Sample Header File *****
; *******************************
; Filename:
; Date:
; File Version:
; Written by:
; Function:
; Last Revision:
; Target PICAXE:
; *******************************
setfreq m4
symbol baud=N2400_4
symbol OLED=c.0
; symbol OLED=c.1
main:
serout oled,baud,(254,1);Clear oled
pause 1000
serout oled,baud,(254,128,"power on")
pause 5000
serout oled,baud,(254,193,"power on")
pause 5000
serout oled,baud,(254,150,"power on")
pause 5000
serout oled,baud,(254,215,"power on")
goto main
TOF