Jump to content
Electronics-Lab.com Community

Need help with Arduino Code


vetenskapsman

Recommended Posts

Hi!

We are stuck in our science project and we are in desperate need of your help! We need to be able to sequentially control eight LEDs using an Arduino Uno. The problem is we have no idea of how to write a suitable code. The LEDs are to be activated in intervals with specific time for on/off for each one. In the first sequence the LEDs must have a special timing unlike the following which will have the same. We have read about delay, loop and interrupt but are unsure of how to use them to fit our purpose.

Best regards

Link to comment
Share on other sites


Arduino is an open-source single-board microcontroller, designed to make the process of using electronics in multidisciplinary projects more accessible. The hardware consists of a simple open hardware design for the Arduino board with an Atmel AVR processor and on-board I/O support. The software consists of a standard programming language and the boot loader that runs on the board.
Arduino hardware is programmed using a Wiring-based language (syntax + libraries), similar to C++ with some simplifications and modifications, and a Processing-based IDE.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...