madguernseyboy
New Member
using the curcit in the pdf below. i have attached a picaxe to a flash gun.
but when i run my program and pop a balloon i dont get to freeze the action. i am just too late to even see the balloon bursting. is the picaxe too slow?
http://www.rev-ed.co.uk/docs/picaxe_sound.pdf
any advice welcome.
Thank you
Brendan
but when i run my program and pop a balloon i dont get to freeze the action. i am just too late to even see the balloon bursting. is the picaxe too slow?
http://www.rev-ed.co.uk/docs/picaxe_sound.pdf
Code:
' *** Directives ***
#com 3 ' specify download port
#picaxe 20M2 ' specify processor
#no_data ' save time downloading
#terminal off ' disable terminal window
' *************************************************************
' ********************* Begin Main Program ********************
' *************************************************************
' *** Set up the input and output pins ***
dirsB = %11111111 ' set all portB pins as outputs
dirsC = %10010001 ' set C pins 65321 as inputs
' pullup %00000000 ' internal pullup resistor not
' used
gosub WriteLCD ' Update Display text
do
if MIC = 1 then gosub Fire ' If Pin MIC is high
' then trigger camera
if MODE = 1 then gosub ModeButton ' if Pin MODE is High
if UP = 1 then gosub UpButton ' if Pin UP is High
' then add 50 ms
if DOWN = 1 then gosub DownButton ' if Pin DOWN is High
' then sub 50 ms
debug
loop
Thank you
Brendan