Blink with Firmware on evive

About This Tutorial
This tutorial explains how we can access evive firmware even when some other code is running on evive.
Tutorial Info

Components Required

ImageComponentQuantityAvailable in Kit
evive1
USB A-B Cable1

Introduction

This tutorial explains how can we access evive firmware even when some other code is running on evive. To explain this feature of evive library an example of blinking an on board LED “M1”  on evive is taken. Here blinking is achieved by switching between code of glowing the bi color led at “M1” in two colors and firmware. Led stops changing its color as soon as firmware is opened and when we exit firmware led starts changing color again. 

Flow of activity

  1. Make sure that evive library is installed on Arduino IDE. To learn library installation navigate to getting started page for Arduino IDE. If you are already familiar with library installation on Arduino IDE then download zip of evive from here.
  2. Download the code given below.
  3. As soon as the code is uploaded to evive led start glowing. Led is glowed in two colors by changing status of digital pin 28 and 29 on which led is connected.
  4. Now center press navigation key . As soon as navigation key is pressed evive firmware appears on evive screen and led stops glowing in two colors and remain constant in one color suggesting that code has stopped working because firmware is currently running on evive screen.
  5. Exit firmware by using “Exit Firmware” option in menu. As soon as one exits firmware led starts glowing in two colors again. 

This example basically highlights a fact that we can access evive firmware anytime even when some other code is running on evive. Just one point necessary to be kept in mind is that evive library should be included in code sketch. 

Code

OUTPUT


Carefully observe that before navigation key is center pressed M1 led glows in red and orange color. As soon as navigation key is center pressed the led stops changing its color and remains still and as soon as you exit firmware led starts changing its color again. 

Share this Tutorial
Share on facebook
Facebook
Share on twitter
Twitter
Share on google
Google+
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on print
Print
Related Projects & Tutorials
ldr circuit
How to interface LDR sensor with evive ?
The tutorial will shows how to interface ldr sensor with evive and controlling the led state using the sensor.How does ldr sensor works? How to control lights using ldr sensor? All the answers are given in this tutorial.Let's begin...
All articles loaded
No more articles to load
Featured Projects
DIY Mini Safe Locker Using Servo
DIY Mini Safe Locker Using Servo

Make your own DIY mini-safe locker using components from the evive Starter Kit and control it using evive’s slide switch!

All articles loaded
No more articles to load

Leave a Reply

Close Menu
×

Cart