My colleagues and students at ESU have been doing robotics with Arduinos and C. I have been asked how to interface robotic sensor input with Raspberry Pis using C. Here's one way using GPIO pins 4 and 5:
Note: The two long print statements near the bottom have semicolons at the end of them.
No comments:
Post a Comment