Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Programming ➜ General ➜ Arduino Code your

Arduino Code your

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Vinnie Marco   (3 posts)  Bio
Date Mon 13 Jan 2014 03:47 AM (UTC)

Amended on Mon 13 Jan 2014 03:48 AM (UTC) by Vinnie Marco

Message
I am having trouble with your code in: How to do multiple things at once ... like cook bacon and eggs.

I have written code to read 5 different potentiometer values, and make that value the (ms) for the LEDs to flash at. The code works great; however, I am trying to add this code into Switch Case statements and I have lost control of the frequencies. Each case gets an additional LED flashing set of code. This goes through five cases. When I run the code, The cases will switch on the led flashing code, but my potentiometers wont change the frequencies anymore. I was wondering if you could help me out since you wrote the code that I have originated mine from.

If you could please email me or check me out on the Arduino Forum to see my code. My Post is: Problems with Switch Case Statement.

Thanks for your dedication and hard work.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 13 Jan 2014 03:49 AM (UTC)
Message
Quote:

My Post is: Problems with Switch Case Statement


Can you provide the URL please?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Vinnie Marco   (3 posts)  Bio
Date Reply #2 on Mon 13 Jan 2014 03:51 AM (UTC)
Message
Sorry, here it is:

http://forum.arduino.cc/index.php?topic=209852.msg1541195#msg1541195
Top

Posted by Vinnie Marco   (3 posts)  Bio
Date Reply #3 on Mon 13 Jan 2014 04:14 AM (UTC)
Message
I cannot get my whole sketch to upload on the Arduino forum or yours. If you send me an email, I can send it to you. I think the code for handling the bluetooth communication also uses millis() and may be part of my problem.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #4 on Mon 13 Jan 2014 08:47 AM (UTC)
Message
The Arduino forum's disk has filled up. The administrators are not doing anything about that. Sorry, but I can't help you.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Paul111   (1 post)  Bio
Date Reply #5 on Thu 16 Jan 2014 10:30 AM (UTC)
Message
Brun the microcontroller for code then attach all Led's then ALL the Led's will work absolutely
can you send me your code here???????????

Mani
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


20,590 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.