Question
8085 Programming assignments: (arduino language) The following programming assignments should be handed, accompanied with detailed flowcharts and listings of the programs, the mnemonic and the
8085 Programming assignments:
(arduino language)
The following programming assignments should be handed, accompanied
with detailed flowcharts and listings of the programs, the mnemonic
and the code. Projects will be presented by students: Both flowchart
and code.
Project # 1:
Write a program that will rotate the content of an array of size N:
(i.e. move the content of A(1) to A(2),A(N) to A(1).
Project # 2:
Write a program that adds the content of an array of size N and stores the result in variable S.
Project # 3:
Write a program that finds the largest value in an array A, then store that value in variable M and its index (location) in variable I.
Project # 4:
Given an array A of size N, with positive and negative values. Write a program that counts the number of positive and negatives and store the numbers in variables POS and NEG.
Arduino Language Reference:
https://www.arduino.cc/en/Reference/HomePage?from=Reference.Extended
Proiect # 5:
Write a program to control an alarm system for a car.
The program should the following I/O:
Use 3 input ports for the following signals:
Bit 0: Alarm switch, 'l'==Alarm on, '0'=Alarm off
Bit 1: Door, 1=Door open, 'O' Door closed
Bit 2: Ignition, '1' Ignition switch on, 'O' Ignition off
Use the 2 output ports for the following signals:
|7|6|5|4|3|2|l|0|
Bit 0: LED indicator, when on system is armed.
Bit 1: When flashes, alarm is off.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started