Read the data using Smart Pin
Kundan_jha
Posts: 17
Hello @JonnyMac and @evanh , Can you please help me to know how to define propeller 2 any pins as smart pin and how to read the data using smart pins. I need one simple example to know this mechanism.
Comments
Looking at Eric's manual on Flex Basic I see
PINSTART
for configuring a smartpin andRDPIN
for reading a smartpin's Z register. And of course there is also WRPIN/WXPIN/WYPIN for component writing to a smartpin.The mechanism is the same as with Spin or C. Eg: (My Basic is rusty so excuse any syntax errors)