PandaMan96
New Member
Hello. I'm 15 years old and I'm doing GCSE Control Systems at school. I'm using a picaxe 20M2 chip to control my project and I have everything sorted except the LCD display. I wan't to put an 8x2 LCD display in because my project involves the user inputting time into a timer. The problem is, I have no idea how to use the PICaxe chip for an LCD display...
This is what is in place already for the timer and function for when the time expires. Can someone help?
PandaMan
This is what is in place already for the timer and function for when the time expires. Can someone help?
Code:
let b0 = 0
main:
if pin1=1 then
let b0 = b0+1
endif
pause 100
if pin2=1 then
let b0 = b0-1
endif
pause 100
if pin3=1 then
let b0 = b0+10
endif
pause 100
if pin4=1 then
let b0 = b0-10
endif
pause 100
if pin0=0 then
pause 100
goto main
elseif pin0=1 then
goto function
endif
function:
if b0 = 0 then main
for b1 = 1 to b0
wait 1
next
high B.0
pause 700
low B.0
high B.1
pause 700
low B.1
let b0 = 0
goto main