Arduino MKR WAN 1300: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Arduino == Gonzalo has some examples on how to get it up and running on his GitHub: https://github.com/gonzalocasas/arduino-mkr-wan-1300 Just follow them and you should...") |
|||
| Line 23: | Line 23: | ||
*Blink that LED | *Blink that LED | ||
<syntaxhighlight lang="python"> | |||
import board | |||
import digitalio | |||
import time | |||
led = digitalio.DigitalInOut(board.D6) | |||
led.direction = digitalio.Direction.OUTPUT | |||
while True: | |||
led.value = True | |||
time.sleep(0.5) | |||
led.value = False | |||
time.sleep(0.5) | |||
</syntaxhighlight> | |||
=== Next Steps === | === Next Steps === | ||
*Try to send something over LoRa | *Try to send something over LoRa | ||
Latest revision as of 09:53, 29 March 2019
Arduino
Gonzalo has some examples on how to get it up and running on his GitHub:
https://github.com/gonzalocasas/arduino-mkr-wan-1300
Just follow them and you should be up and running in no time
CircuitPython
Since the you want the real fun
Installing
https://learn.adafruit.com/welcome-to-circuitpython/non-uf2-installation
- Install bossa(c): http://www.shumatech.com/web/products/bossa
- Grab the latest CircuitPython .bin (pre release 4.0.something). https://github.com/adafruit/circuitpython/releases
- Install using bossa(c). I had problems on Linux so i tried it on Windows in the office using the GUI tool, just think of that offset of 0x2000
What I tested
- Blink that LED
import board
import digitalio
import time
led = digitalio.DigitalInOut(board.D6)
led.direction = digitalio.Direction.OUTPUT
while True:
led.value = True
time.sleep(0.5)
led.value = False
time.sleep(0.5)
Next Steps
- Try to send something over LoRa