- Posts: 97
- Thank you received: 0
Fans to turn on when starting program
4 years 8 months ago #235400
by remon_v
Replied by remon_v on topic Fans to turn on when starting program
Oke, so I'm adding a Xbox controller and I would like to assign a button 'B' to also be able to switch the fans on.
I've replace the 'or2' command by the 'logic' command.
Everything still works as expected, only when I press button B it triggers the fans, but I have to hold it down. When I release it, it turns off again.
So I'm guessing I need another toggle output or so?
I've attached my hal file... thanks in advance!
I've replace the 'or2' command by the 'logic' command.
Everything still works as expected, only when I press button B it triggers the fans, but I have to hold it down. When I release it, it turns off again.
So I'm guessing I need another toggle output or so?
I've attached my hal file... thanks in advance!
Please Log in to join the conversation.
4 years 8 months ago #235681
by remon_v
Replied by remon_v on topic Fans to turn on when starting program
Please Log in to join the conversation.
4 years 8 months ago #235683
by MaHa
Replied by MaHa on topic Fans to turn on when starting program
I would try this, use another or2 for the buttons, that or2 out going to toggle, see the left side. It is not tested, as i am pretty busy at the moment.
Attachment not found
Please Log in to join the conversation.
4 years 8 months ago #235733
by remon_v
Replied by remon_v on topic Fans to turn on when starting program
It works! Many many thanks (again)!
Before asking I tried a few things, also to add or2.1, but what I didn't know is I had to add ' count=2' after the loadrt or2...
Before asking I tried a few things, also to add or2.1, but what I didn't know is I had to add ' count=2' after the loadrt or2...
Please Log in to join the conversation.
Time to create page: 0.047 seconds
