Tutorial 4 : Arduino Uno as a Board in Morey_os - sudeshmoreyos/Morey_os-demo-1.0 GitHub Wiki
In this tutorial we are taking an overview of Arduino Uno Board before exploring different drivers supported by Morey_os. Arduino Uno is a very popular open source embedded system board across the world. Basically Arduino Uno is mere an extension board for atmega328P. It has bootloader already loaded on the controller which makes it possible to program the controller via Serial/Uart port. The board has a USB2Serial converter chip to easily connect with a PC via USB port.
In order to write a code for Arduino Uno board in Morey_os, we only need to consider followings points
- adding a line in Makefile :
BOARD = ARDUINO_UNO
- Choose pins of Arduino Uno as under :
pin0
pin1
pin2
pin3
pin4
pin5
pin6
pin7
pin8
pin9
pin10
pin11
pin12
pin13
pinA0 or pina0 or pin14
pinA1 or pina1 or pin15
pinA2 or pina2 or pin16
pinA3 or pina3 or pin17
pinA4 or pina4 or pin18
pinA5 or pina5 or pin19
Thats it! And we are good to start programing for Arduino Uno board!