help with the programing

Scuba Steve

New Member
my electronics class at school has recently bought and some of us finnised the picaxes sadly only the 08, but we are having trouble programing the LDR. we aer all using the program editor 3.2.2 is that the problem and if so is there a patch, this is the original programing for the music box project but it says there is a error = *, can any one help me?
BIT1 = 0
LET b3 = 0
Wait 1


Loop:
BUTTON 3,0,255,255,b3,1,Pressed
BIT1 = 0
GOTO LOOP

Pressed:
*IF BIT1 = 1 THEN GOTO LOOP*

High 0
For b2 = 1 to 1
Sound 2, (110,20,108,12,110,12,112,40,110,15)
Sound 2, (101,12,104,12,106,15,110,20,108,50)
Sound 2, (112,20,110,12,112,10,108,10,113,40)
Sound 2, (112,20,110,15,108,15,104,20,108,50)
next b2
Low 0
BIT1 = 1
Goto Loop
 

Charliem

Senior Member
HI scuba Steve,If you have access to the web,the latest version is a free download.That might help. Charlie
 

BeanieBots

Moderator
The first line after Pressed: starts with *
If the line is to commented out use ' or REM.
If it is required, remove the * from both ends.
 
Top