Hacker News new | comments | show | ask | jobs | submit login
Raspberry Pi's Gertboard expansion board already works (video) (geek.com)
30 points by ukdm 2026 days ago | hide | past | web | 6 comments | favorite

Using C to call the shell to write a character to a file to drive a motor. Amazing.

they guys over from BeagleBoard.org (TI) currently build a node.js based framework for scripting (including "cape" support, their name of expansion boards)


Why? Why???

The overhead of spawning the shell is going to be significant versus simply opening /sys/class/gpio/... directly.

The PIC attached via SPI sounds cool, though. It'd be cool if they supported USB-capable PICs and brought the USB pins out to a mini-B header in the final or second version of the Gertboard.

>Why? Why???

The person who wrote this probably didn't know of a different way of doing it.

he knew better, but it's to 'demonstrate ease of use' : http://www.raspberrypi.org/archives/500#comment-7659

according to the writer, it's to demonstrate the ease of use of the driver: http://www.raspberrypi.org/archives/500#comment-7659

still doesn't seem like a good example to set though.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact