Blink a LED
Dependencies: mbed
Seeed_Arch_link_Blinky
Setup
- Connect the Temperature sensor as well as the Servo to the Seeeduino-Arch-Link board, and then connect the board to you PC using the micro-USB cable.
- The board mounts as a mass-storage device (like a USB drive). Verify that you can see it (drive name will be MBED).
- Go to http://developer.mbed.org
- Create an ARM mbed account if you do not have one.
- On the top right corner, click the Compiler button.
An IDE should open. Congratulations!
On Windows: To see debug messages, install the serial driver.
Debug messages: We can talk to the board via a serial port, but you might need some software. Read this doc and install required software (like PuTTY or CoolTermon Windows).
Locally: If you like things locally, you can do so by exporting to a supported toolchain.
I very much recommend to just use the online IDE, as it makes it easier for us, but if you want to continue hacking in the future, this is a nice way.
Seeed_Arch_link_Blinky
- First we need to set up our project and our target. In a new browser window, open https://developer.mbed.org/platforms/Seeed-Arch-Link and click the Add to your mbed Compiler button.
- Go back to the compiler browser window and click F5 to refresh the page.
- Click the Import button, then click "Click Here to import from URL"
- Paste the URL https://developer.mbed.org/teams/znrobotics/code/Seeed_Arch_link_Blinky/
- Double click to open main.cpp
- Try to finish the code under ' YOUR CODE HERE : turn on the LED'
- Now press Compile
- A file downloads (Seeed_Arch_link_Blinky_ARCH_LINK.hex)
- Drag the file to the 'MBED' disk
- The LED on the board will flash.
- After flashing, hit the 'Reset' button to start the program.
- Seeed_Arch_link_Blinky runs!
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
16:21a80819dad9 | 2016-05-28 | Maggie17 | modify |
15:54d9ef9b943e | 2016-05-28 | Maggie17 | modify |
14:a937e53670d2 | 2016-05-28 | Maggie17 | modify |
13:769319201354 | 2016-05-28 | Maggie17 | modify |
12:8dab8b91a92c | 2016-05-28 | Maggie17 | add the comments |
11:4cfe2fa00668 | 2016-03-08 | MACRUM | Update libraries |
10:3e42ca878d11 | 2016-01-17 | MACRUM | Update libraries |
9:0d1a88e54782 | 2015-10-29 | MACRUM | Update libraries |
8:392ad468bdd3 | 2015-10-03 | MACRUM | Update libraries |
7:aecc1c3ea8db | 2015-03-26 | mbedAustin | updated libraries |
6:e8cd76f38fa9 | 2014-05-09 | screamer | Fixed the builds URL |
5:0ee0afc66ccd | 2014-04-03 | screamer | Always import the latest mbed SDK build |
4:81cea7a352b0 | 2014-03-18 | stevep | Re-add newline |
3:2e347c65be00 | 2014-03-18 | stevep | revert |
2:c30dc3ae7426 | 2014-03-18 | stevep | add comment |
1:0e7c9a80e2a6 | 2014-02-21 | Stephen Paulger |
Use latest build |
0:7dec7e9ac085 | 2013-10-11 | dan | First commit |