Basic C API for reading sensors with Lego Mindstorms EV3