Although the pinMode() function set a pin as an output, you can still read it with digitalRead(). Select one: True False
Added by Martin M.
Close
Step 1
digitalRead(pin) reads the current logic level on the pin (HIGH or LOW). Show more…
Show all steps
Your feedback will help us improve your experience
Aman Gupta and 80 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Write a mikroC language program using INTERRUPT to continually rotate the binary number '11001100' through a set of 8 Light Emitting Diodes (LED) connected to PORTB, using the PIC 16F887 embedded microcontroller.
Sri K.
# shortsleep ← tab →10usecs sleep 1000000usecs ← tab →50usecs exit # longsleep ← tab →10usecs sleep 5000000usecs ← tab →50usecs exit # cal ← tab →80usecs write terminal 2000B ← tab →90usecs exit # copyfile ← tab →200usecs read hd 48000B ← tab →300usecs write hd 48000B ← tab →600usecs read hd 21000B ← tab →700usecs write hd 21000B ← tab →1000usecs exit # shell ← tab →100usecs write terminal 10B ← tab →120usecs read terminal 4B ← tab →220usecs spawn cal ← tab →230usecs wait ← tab →1000usecs exit # How to create a void function that will read these commands from a file and store them in some way so that we can then execute them in another void function
Akash M.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD