Remember
Register
Home
/
Support
/
Support Forum
/
How to Read Port A on a RCM4300
Digi Forum
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.
All categories
Digi Remote Manager
(383)
Python
(1,016)
RF Solutions and XBee
(8,413)
Digi TransPort
(785)
Digi Connect Cellular
(443)
DAL
(4)
Embedded Devices
(4,160)
Google Coral
(2)
Rabbit
(3,194)
Rabbit Software
(518)
Console Servers
(353)
Modbus and Industrial Automation
(246)
Realport
(600)
Serial Servers
(836)
Satellite Modules
(25)
USB
(1,269)
Serial Cards
(715)
ConnectPort Display
(58)
Feedback/Wish List
(92)
Other/Legacy
(373)
How to Read Port A on a RCM4300
0
votes
How do you read the input to PORT A.
I use the command
InA = RdPortI(PADR);
printf("InA = %d\n", InA);
I check the pins on port A and they are always low.
Any ideas
Thanks
dynamicc10
and
rcm4300
asked
Sep 6, 2018
in
Rabbit Software
by
Bobby1
New to the Community
(
3
points)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
Set SPCR to 0x80 to configure port A as an input, or 0x84 to configure it as an output.
answered
Sep 6, 2018
by
TomCollins
Veteran of the Digi Community
(
2,297
points)
Please
log in
or
register
to add a comment.
...