Convert Code to One Button From Two Button
$10-30 USD
S-au achitat serviciile după ce au fost prestate
I have a arduino sketch for a lightsaber that currently uses two buttons for configuration...I want to convert it only use one button. It should do the following.
In Standby Mode
Click - Enters Saber On Mode
Double-Click - Enters Jukebox Mode
Hold - Enters Config Mode
In Jukebox Mode
Click - Start/Stop Music
Double-Click - Next track
Hold - Exit Jukebox Mode (back to Standby)
In Config Mode
Click - Adds + 1 to current value being assigned
Double-Click - Next Menu
Hold - Save to EEPROM and Exit Config Mode (back to Standby Mode)
In Saber On Mode playing ignition (create new value to track lockup readiness, set to 0 as default)
Click - Turns lockup readiness value to 1 for 1 minute then reverts to value to 0, if a clash is detected while readiness is set to 1, play the lockup sound file and led setting until a swing is detected (setting value back to 0)
Double-Click - Enter blaster block mode (double-click should also exit this mode and go back to Saber On mode)
Hold - Turns off Saber (playing poweroff file and enters Standby Mode)
The modes are already programmed except for the lockup feature I am looking for (it's currently set to Hold on secondary button) so it should be relatively easy
ID Proiect: #12097782
Detalii despre proiect
Acordat lui:
Will this be okay? Hold is 2 seconds. There will be a delay response for the 1 click as it will wait to check if it is double click. Triple click or more will be treated as double click.
9 freelanceri plasează o ofertă medie de 62$ pentru proiect
FREELANCER RECOMMENDED ------------------------------------------------------ Can help... I am an Expert... Lets Start! Please start a Discussion with me and we can get started from there... Please check the past p Mai multe
Hi, I'm an Electronics Engineering student from Argentina. I consider I'm able to help you. I'm new to freelancer but that doesn't mean I have no experience, you will get from me the best effort to get a job done that Mai multe
My job is embedded software engineer at Valeo, which makes me have the necessary experience for this job. Furthermore I have used arduino in many competitions at the university and some home applications.