The bear
Senior Member
Hi Everyone,
Ideally to transform operation of servo into Led flashes:
Like 4 operations = 4 flashes and some mice.
The servo part is working as expected.
Don't hold back with any criticisms, hopefully the bear can take it.
Ideally to transform operation of servo into Led flashes:
Like 4 operations = 4 flashes and some mice.
The servo part is working as expected.
Don't hold back with any criticisms, hopefully the bear can take it.
Rich (BB code):
#Picaxe 08M2 ;14M2 ;20M2
#No_data
'#No_table
#Com 3
#Terminal 4800
'Sertxd( "Created on ", Ppp_datetime, Cr, Lf )
Symbol counter = w0
Symbol ledflag = C.1 ;To show its been operated
'Symbol
Do
Inc w0
Pause 1000
If counter > 1 Then
High ledflag
w1 = w0' * 2
Write w1, Word w2
Sertxd (Cr, Lf,#w1," " )
Endif
If pinC.3 = 1 Then 'Press a switch
Read w1, Word w2
Sertxd (Cr, Lf,#w1," " ) 'To determine how many operations.
;--------------------------------------------------------------------------------
Count C.4, 5000, w1 'Not working, no suprise!
Sertxd (Cr, Lf,#w1," " )
Endif
Loop