INSTRUCTION: Answer all questions. a) Create a circuit on Proteus that consists of: i. 1 x Arduino UNO ii. 1 x red LED i

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

INSTRUCTION: Answer all questions. a) Create a circuit on Proteus that consists of: i. 1 x Arduino UNO ii. 1 x red LED i

Post by answerhappygod »

Instruction Answer All Questions A Create A Circuit On Proteus That Consists Of I 1 X Arduino Uno Ii 1 X Red Led I 1
Instruction Answer All Questions A Create A Circuit On Proteus That Consists Of I 1 X Arduino Uno Ii 1 X Red Led I 1 (64.02 KiB) Viewed 40 times
INSTRUCTION: Answer all questions. a) Create a circuit on Proteus that consists of: i. 1 x Arduino UNO ii. 1 x red LED iii. 1 x green LED iv. 2 x resistors v. 1 x logic toggle vi. Virtual terminal Connect all components together. You may use any pin that is suitable. b) Refer to your circuit on a), write an Arduino program on Arduino IDE that will continuously do the following requirement: i. Inside the loop function, continuously read the value of logic toggle. If the value of logic toggle is 0, execute Kuasa Dua function. If the value of logic toggle is 1, execute Puncakuasa function. ii. Inside the KuasaDua function, turn on only red LED, and display the square of a number from 1 to 10 on virtual terminal (use for statement). iii. Inside the Puncakuasa function, turn on only green, and display the square root of a number from 1 to 10 on virtual terminal (use while statement). Submit both answers of a) and b) through VLE.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply