variable - is a byte variable to receive the portc values
Read the portc value into variable.
The current state of the portc pins on the 40X1 part can be read into a variable using the readportc command. This command is not required on other parts as you can just use the command 'let var = pinsC'
- Applies To:
- See Also:
- Related Create:
Read PORTC inputs
Read PORTC inputs and report the results
- Code Example:
main: readportc b1 ; read value into b1
debug ; show result
goto main ; and repeat
Submit an Example
Submit Your Own Code!
You must be logged in to submit code examples. Login now.