computer architecture lecture number nine.pdf

kimhyunwoo24 2 views 14 slides May 10, 2024
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

csa lecture microcontrollers


Slide Content

Programming of Microcontrollers
Sabina Batyrkhanovna

Repeating
•Development of embedded systems
•Software development
•Writing code
•Compiling
•Debugging
•Hardware development
•Microcontrollers

Software development
•Atmel Studio
•Integrated Development Environment (IDE)
•Used for developing and debugging of Microcontroller Applications
•C Language

Hardware development
•Proteus Design Suite
•proprietary software tool suite used to design electronic schemes
•simulation of PCBs (Printed Circuit Board) and microcontrollers
Printed Circuit Board

Steps

Creating a new project in Atmel Studio

LED connected to ATMEGA2561 microcontroller

Library <avr/io.h> controls input
and output ports
NOP–NoOperationassembly
command (does nothing,
but takes some time)
intmain() –main function
DDRC–Data Direction Register
tells that we use Port C
to input/output operations
PORTC–used to turn on/of our
port C