MODULE 1

Introduction To Embedded Systems

An Embedded system refers to a computer system designed to perform a specific task or function.

Raspberry pi pico:a micro-controller board used in a widerange of applications and contains GPIO pins
which can be used to control and recieve inputs from electronic devices.
The Raspberry Pi Pico's MCU processes incoming data and commands, and then uses its GPIO pins to control external devices and sensors.

Overview of RPI PICO and Gpio pins:

The pico has an in-built LED connected to GPIO25 hence is the only pin that can be used to control and blink the internal LED.

Thonny IDE is an integrated development environment (IDE) which supports multiple programming languages like python,
comes with a pre-installed micro-python support that is used to program raspberry pi pico.

Blinking pico LED with micropython.

from machine import Pin
from time import sleep

led = Pin(25,Pin.OUT)

while True:
led.toggle()
sleep(2)