Pastebin: v1PZ0jb3
Open Peripheral is an amazing, amazing mod.
But it can be a little difficult to find out how to use any given peripheral.
[edit]Just realised that there already is a basic "docs" program provided with OP. My tool however is menu driven, and produces output that's a little better formatted. So there is still a space for this.[/edit]
This is a little, basic application to help you figure things out.
When run, it can pull down the details on any connected peripheral (direct or via modem) that comes via open peripheral.
It will show you all the methods, and then you can select a method to view the arguments it uses and an explanation of the method.
It's nothing fancy, but it's a lot quicker and easier than faffing with the LUA interpreter.
Note - any inaccuracies are down to the built-in documentation and not this program - OPE simply uses the information already embedded in Open Peripheral by the dev team for the mod.
Known issues:
- Lots of arguments, or long descriptions for arguments can overflow the screen (although I've not yet seen this actually happen).
- Layout isn't the clearest.
- Better formatting
- Advanced computer support
- Showing what would currently be returned (a bit like Sensorview).