Question: Q 1 . What is the difference between a source code and a machine code? ( 1 0 points ) Q 2 . What is

Q1. What is the difference between a source code and a machine code? (10 points) Q2. What is an assembler, and what is it used for? (10 points) Q3. Arduino UNO chip (ATmega328P) consists of how many digital port registers? Name them. (10 points) Q4. Explain what DDRx, PORTx, PINx registers are and what they are used for. You can select any specific port of the ATmega328P chip. (20 points) Q5. Explain how to use the DDRx register to configure a digital pin as a read/write pin. Provide corresponding commands and a breakdown of each command. (20 points) Q6. Explain how to use PORTx register to set a digital pin as high/low. Provide corresponding commands and a breakdown of each command. (20 points) Q7. Explain how to use the PINx register to read a digital pin. Provide an example command and its breakdown for a specific digital pin. (10 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!