Hire

.lt

Tiklso link

Microprocessor - Assembly language - Upwork

Būsena UŽDARYTA
Biudžetas 501-1000 Eur
Sukurta: 2020-04-08
Baigiasi: 2020-04-15
Siūlo: Nėra
Apibūdinimas: I'm taking microprocessor class, and I'm looking for someone to help me code assembly by atmel studio.

This is a sample of the codes will be doing


Subject: Interrupt drive output


Description: Use port F pin 2, 1, and 0 to generate interrupt and increment a counter and then output them to the Port C which drives the LEDs.


Write a main program that places Port F pin 2 to INT0 and place pins 1, 0 in INT1. Place INT0 interrupt at medium level and place INT1 interrupt at high level. Initialize a counter (cnt0) associated with INT0 to 0 and also initialize a counter (cnt1) associated with INT1 to 0. After that, enable INT0 and INT1 interrupts and also global interrupt. Stay in a while loop to wait for interrupts INT0 and INT1 to occur. The main program needs also configure PORTC for output.


Write the service routine for PORTF INT0 which increments cnt0 by 1 and then outputs it to PORTC (write to PORTC_OUT register), and then return. Write the service routine for PORTF INT1 which increments cnt1 and outputs it to PORTC (write to PORTC_OUT register).


When testing the program, you need to press buttons 0, 1, and 2 (to the right of the seven-segment displays) randomly and watch the change of LEDs.



My budget is $10/hr or less.


Posted On: April 08, 2020 03:42 UTC
Category: Electrical Engineering
Skills:Atmel AVR

Skills: Atmel AVR
Country: United States

click to apply


Darbo Tipas(ai):
  • PHP
  • CSS
Duomenų Bazė:
Operacinė Sistema: Linux
Siūlymų Skaičius: 0
Siūlosi Žinutės Kaina Trukmė Įvertinimas Informacija