Name:
readportc
Syntax:

READPORTC variable

variable - is a byte variable to receive the portc values

Description:

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:
28X1, 40X1
See Also:
Related Create:
Share:
Print:

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
Copy Code Submit an Example

Submit Your Own Code!

You must be logged in to submit code examples. Login now.

Comments

  • Login to leave a comment.