13 posts
Posted 12 August 2014 - 03:30 PM
So, I started computer craft I can do a fair bit of coding-not much, but a gpod amount
And now I want to learn about openpeipherals and openperipheralsaddon
Eg like the sensor and PIM and glasses and terminal bridge
8543 posts
Posted 12 August 2014 - 04:36 PM
Moved to Ask a Pro.
3790 posts
Location
Lincoln, Nebraska
Posted 12 August 2014 - 06:41 PM
There's documentation in game for any available peripherals. You can use openp/docs <side> when connected to a peripheral, and it'll give you basic info about what functions are available for that peripheral, and what it does.
13 posts
Posted 13 August 2014 - 12:35 AM
You what?
I don't quite understand that?
3057 posts
Location
United States of America
Posted 13 August 2014 - 01:00 AM
does this help?
>openp/docs right
-->stuff on the peripheral
>openp/docs left
-->stuff on the peripheral
etc.
7083 posts
Location
Tasmania (AU)
Posted 13 August 2014 - 04:08 AM
To see what - if any - functions
OpenPeripheral gives you access to, run its documentation script along with the name of the peripheral (as per the name you'd use to
wrap it):
openp/docs <name>
For specific info on given functions, follow that up with:
openp/docs <name> <functionname>
Note that whether or not OpenPeripheral supports your block may depend on both the version of OpenPeripheral and the version of the mod that block comes from. For older OpenPeripheral builds, you may need to install the documentation script manually (see the
OpenPeripheral thread for info on this).
For further info on wrapping and using peripherals, take a read through
this tutorial.
13 posts
Posted 13 August 2014 - 09:33 AM
Yeah that does hekp, thanks guys