Controlling LEGO robotics with microcontrollers part 2. No hardware changes this time, only software. I make the software into a library and implement sensor auto polling using an Arduino hardware timer interrupt along with touch sensor debouncing.
vegardmakes.com/electronics/...
vegardmakes.com
LEGO Robotics microcontroller control - Software
Introduction In the first post of the series, we started with getting the Arduino Nano to read a LEGO NXT touch sensor. The focus of the post was to get our first sensor readings, and we implemented a...