From 09be8a0d1b07dc55a55fea52365c774398658d7d Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 26 Apr 2018 19:02:41 +0200 Subject: wip --- assignments/blink-a-led/blink-a-led.md | 12 ++++++++---- assignments/blink-a-led/blink-a-led.pdf | Bin 703496 -> 722602 bytes 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'assignments/blink-a-led') diff --git a/assignments/blink-a-led/blink-a-led.md b/assignments/blink-a-led/blink-a-led.md index f4b3fa1..e7fb5d8 100644 --- a/assignments/blink-a-led/blink-a-led.md +++ b/assignments/blink-a-led/blink-a-led.md @@ -1,13 +1,19 @@ # Assignment: Blink a led - ## Goal Check that your local environment is working properly. +## Configure the Arduino IDE + +Under *Tools* -> *Board* make sure that "NodeMCU 1.0 (ESP-12E Module)" +is available and selected. + +Create a new sketch with *File* -> *New* and compile it with *ctrl-R*. + ## Step 1 -Create this schematic: +Wire up this schematic on the bread board: ![](schematic/assignment-1_schem.pdf) @@ -23,14 +29,12 @@ Implement `setup()` and `loop()`. In `setup()` configure the LED pin and blink t Use these functions: ~~~ .c++ - Serial.begin(115200); Serial.println(string); pinMode(pin, mode); digitalWrite(pin, state); // HIGH or LOW delay(); - ~~~ ## Tips diff --git a/assignments/blink-a-led/blink-a-led.pdf b/assignments/blink-a-led/blink-a-led.pdf index c963e79..6456260 100644 Binary files a/assignments/blink-a-led/blink-a-led.pdf and b/assignments/blink-a-led/blink-a-led.pdf differ -- cgit v1.2.3