I just received my first picaxe chip (18m2) together with a chi035 power board.
The board is powered with a 12v car battery.
I did the required mods to the board.
I installed the usb cable drivers and downloaded the program to the chip successfully.
The following program which should simply sound the piezo doesn't seem to work:
#picaxe 18m2 ; default clock speed for all M2 and X1 parts is 4 MHz
; OUTPUTS
symbol piezo = b.6 ; piezo buzzer
init:
;initialise output pins
low piezo
MainLoop:
do
goSub alarmOn
loop
AlarmOn:
high piezo
return
Return
I probably did something incredibly stupid right???
Thanks