Question

IIC vaTUL UIT THe LEDs when a switch is chan for(:) if(switchesGet(&temp)) count+i lagz - LEDsPut count): flags sevenSegPut DippIDi, count): flag4 - sevensegPut DisplD2, cnunt) for (i-oi.く100;i + + ) { // Software time delay to make operations visible for G-ojci00ot) Execute/Run the program with the original simple switchesGet driver in mur wwhat happens then repeat the o


what is the temp variable used for in the program
(IAR embedded workbench)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

if(switchesGet(&temp)) here temp variable is used to get the address of the switches if there is an address available for the switch in the memory then true is returned and count is increased by 1.

Add a comment
Know the answer?
Add Answer to:
what is the temp variable used for in the program (IAR embedded workbench) IIC vaTUL UIT...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT