Electronic Components Datasheet Search
  English  ▼

X  

DEV-12887 Datasheet(PDF) 29 Page - SparkFun Electronics

Part # DEV-12887
Description  Electric Imp Breakout Hookup Guide
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SPARKFUN [SparkFun Electronics]
Direct Link  https://www.sparkfun.com/
Logo SPARKFUN - SparkFun Electronics

DEV-12887 Datasheet(HTML) 29 Page - SparkFun Electronics

Back Button DEV-12887 Datasheet HTML 25Page - SparkFun Electronics DEV-12887 Datasheet HTML 26Page - SparkFun Electronics DEV-12887 Datasheet HTML 27Page - SparkFun Electronics DEV-12887 Datasheet HTML 28Page - SparkFun Electronics DEV-12887 Datasheet HTML 29Page - SparkFun Electronics DEV-12887 Datasheet HTML 30Page - SparkFun Electronics DEV-12887 Datasheet HTML 31Page - SparkFun Electronics DEV-12887 Datasheet HTML 32Page - SparkFun Electronics DEV-12887 Datasheet HTML 33Page - SparkFun Electronics Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 40 page
background image
<html>
<head>
</head>
<body onLoad=updateURL()>
<h4>What is your agent's url?</h4>
<form name="url">
https://agent.electricimp.com/<input type="text" name="agentUr
l" placeholder="qJx35x_LTITP" onChange=updateURL()>
</form>
<h4>Imp Inputs:</h4>
<form name="leds" id="ledSend" method="get">
Lonely Red LED: <input type="radio" name="led" value="0" check
ed>Off
<input type="radio" name="led" value="1">On<br
>
Set the RGB LED: <input type="color" name="rgb">
(Chrome/Oper
a use color input, other browsers format as "#XXXXXX", where 
X is 0­9, a­f, or A­F.) <br>
How long should the LEDs stay on? <input type="text" name="tim
er" value="10">seconds<br>
Your name? So we know who to blame! <input type="text" name="u
ser" placeholder="Your name here"><br>
<br>
<input type="submit" value="Update!">
</form>
</body>
<script language="javascript">
function updateURL() {
    ledForm = document.leds;
    urlForm = document.url;
    ledForm.action = "https://agent.electricimp.com/" + urlFor
m.agentUrl.value; 
} 
</script>
</html>
Then save and open the file with your browser of choice. A simple web
page like this should show up:
Make sure you type in the correct, unique code for your agent URL. Then
play with the rest of the form inputs. The On/Off radio buttons turn the
lonely red LED on or off. The RGB color selector sets the color of the RGB
LED. The duration text box will turn all LEDs off after a set number of
seconds. And the name textbox will print your name in your imp’s console.
Try it out!
Page 29 of 40



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com