Tutorial 4 : Arduino Uno as a Board in Morey_os - sudeshmoreyos/Morey_os-demo-1.0 GitHub Wiki
In this tutorial, we will take an overview of the Arduino Uno board before exploring the different drivers supported by Morey_os. The Arduino Uno is one of the most popular open-source embedded system development boards in the world. At its core, the Arduino Uno is essentially an extension board built around the ATmega328P microcontroller. It comes with a preloaded bootloader, which allows the microcontroller to be programmed through its UART/Serial interface without requiring an external programmer. The board also includes a USB-to-Serial converter chip, making it easy to connect the Arduino Uno to a PC through a USB port for programming and serial communication.
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!