A button triggers before press
-
checked x,y,b and they work as intended. but a always triggers when the program starts
c = controls(0) if c.a then playnote(0,0,440,1,0,0.5) endif loop repeat
-
I'm trying to recreate this and can't get the note to trigger when program starts, unless I press A at the exact same time as +.
Tried it with other examples too, like drawing a shape to the screen on A press. Still the same result. Yours is playing a note on the + press?
-
Tried it out and it happens if you press the A button on “Run” instead of using + to start the program.
-
@brillianceguy said in A button triggers before press:
Tried it out and it happens if you press the A button on “Run” instead of using + to start the program.
You can press A to run the program?
-
@MikeDX Yes. On the button at the top left of the Fuze keyboard that says “Run”
-
AH! Yes that makes perfect sense! I'm going to make a note of that on our issue tracker!
-
This post is deleted! -
@MikeDX
I start the program by pressing the "run" key on the virtual keyboard on touch screen. Just typed in that exact code and press run on on virtual keyboard and the note plays, if I change the code to be c.b or c.x or c.y or c.left c.right c.up c.down it does not play. -
Great. Thanks for giving that a proper test!
-
I completely forgot about that option!