hyperobject / snap-nxt

[see blockext/nxt] Snap! + Mindstorms NXT
21 stars 12 forks source link

documentation #1

Closed TsvetanUsunov closed 11 years ago

TsvetanUsunov commented 11 years ago

Hi Is there documentation how to add and interface custom blocks on SNAP? We have Embedded Linux board which runs SNAP https://www.olimex.com/Products/OLinuXino/A13/A13-OLinuXino-WIFI/ and I would like to add GPIO, SPI, UART, I2C controls as SNAP building blocks. I probably will do it looking at your code, but if somewhere there is documentation and description how to create and interface custom blocks would help me a lot Thanks!

hyperobject commented 11 years ago

Hi TsvetsanUsunov, There is no full documentation now, but I can probably write some in the next week.

Essentially, all you need to do is 'hook up' a Python hardware control module to the Snap! base server (http://www.github.com/technoboy10/snap-server).

Hope that helps, Technoboy10

TsvetanUsunov commented 11 years ago

Thanks! This is what I needed :) Now I'm asking myself how I missed it before.

hyperobject commented 11 years ago

I've created the first documentation page on the Snap! base server repo wiki. It describes how to create a block module from start to finish. Enjoy!

If you have any other questions, please file them as issues on the snap-server repo.

Happy Snap!ping!