tehviking / brick_pi_ruby

ruby wrappers for the BrickPi Lego Mindstorms C library
MIT License
7 stars 3 forks source link

Sensor port 5 not supported #1

Closed Floppy closed 10 years ago

Floppy commented 10 years ago

The basic C interface (and the Ruby above) doesn't seem to include port 5, which my BrickPi has. Not sure if the underlying library does or not.

Floppy commented 10 years ago

I've filed https://github.com/DexterInd/BrickPi_C/issues/9 on the C library to see what should be done about this. I'm also going to try adding it to our own .h file and see if it "just works".

Floppy commented 10 years ago

I did an experiment on the port-5 branch, but it doesn't work unfortunately. Looks like there is something needed in the base library to support it, which is rather surprising really.

Floppy commented 10 years ago

Ah, port 5 is not a sensor port but an i2c port. My mistake. See http://www.dexterindustries.com/forum/?topic=sensor-port-5-not-in-brickpi-py. Will delete my experiment :)