Microfreak
New Member
Hy Folks.
I´m Steffen from Austria and I like to learn to handle the picaxe 18x for a project. I want to realize an old projekt with Hardware Relais with the Picaxe. I searched here in the forum an try to find any information in the basic command but I think I need a little help during my startup.
How can I realize my problems:
I have one switch on input 0 and one Output. When I press the switch at the Input the Output should go into high level and when I press the switch again the Output should go back into low. I realized this but i have one Problem. When I press the button the Output must go to high even if I hold the button. The Programm has to run and work other steps or commands. Then, when I release the button the program must go on and work the other commands. When I press the Button again the Output has to go to low level until I releas the Button again and go th high when I press the Button and so on. The min problem is that the Programm must run in the background.
Its an electronical impuls relay I like to build whith the option to run the rest of the Program without any break.
I hope you understand what I mean. I hope sombody has an idea.
Regards, Steffen
Sorry about my bad english
I´m Steffen from Austria and I like to learn to handle the picaxe 18x for a project. I want to realize an old projekt with Hardware Relais with the Picaxe. I searched here in the forum an try to find any information in the basic command but I think I need a little help during my startup.
How can I realize my problems:
I have one switch on input 0 and one Output. When I press the switch at the Input the Output should go into high level and when I press the switch again the Output should go back into low. I realized this but i have one Problem. When I press the button the Output must go to high even if I hold the button. The Programm has to run and work other steps or commands. Then, when I release the button the program must go on and work the other commands. When I press the Button again the Output has to go to low level until I releas the Button again and go th high when I press the Button and so on. The min problem is that the Programm must run in the background.
Its an electronical impuls relay I like to build whith the option to run the rest of the Program without any break.
I hope you understand what I mean. I hope sombody has an idea.
Regards, Steffen
Sorry about my bad english