Difference between revisions of "ExternalProtocol"

From Wiki in Space
Jump to: navigation, search
m (Kuroneko moved page Arduino Controllers to ExternalProtocol: not specific to Arduino)
Line 1: Line 1:
 +
Objects in space was made with the intention that it could be playable with just buttons.
  
== Arduino Controllers ==
+
You can also get almost all the information from the in-game UI sent back to your Arduino or other external microcontroller that can speak Serial.
  
Objects in space was made with the intention that it could be playable with just buttons.<br />
 
You can also get almost all the information from the in-game UI sent back to your Arduino. <br />
 
 
There are 193 Commands [[Serial Commands]], 164 Boolean Requests, and 24 Numeric Requests for a total of 381
 
There are 193 Commands [[Serial Commands]], 164 Boolean Requests, and 24 Numeric Requests for a total of 381
  
== Protocol ==
+
== Protocol Details ==
  
Currently on the OiS Serial Data Protocol page the Handshake information is incorrect<br />
+
The protocol is outlined on the [http://objectsgame.com/the-controllers/ois-serial-data-protocol/ offical web site], however there are some minor inaccuracies whilst the game is in Beta.
To connect your Arduino to the game you need to send 451 with a newline at the end. The game will send back 452. source([http://forum.objectsgame.com:88/t/ois-arduino-code-during-beta/911/13 Nocturnal])
+
 
 +
To connect your controller to the game you need to send 451 with a newline at the end. The game will send back 452. (source [http://forum.objectsgame.com:88/t/ois-arduino-code-during-beta/911/13 Nocturnal])
  
 
[[Category:HardwareInterfacing]]
 
[[Category:HardwareInterfacing]]

Revision as of 01:17, 3 June 2018

Objects in space was made with the intention that it could be playable with just buttons.

You can also get almost all the information from the in-game UI sent back to your Arduino or other external microcontroller that can speak Serial.

There are 193 Commands Serial Commands, 164 Boolean Requests, and 24 Numeric Requests for a total of 381

Protocol Details

The protocol is outlined on the offical web site, however there are some minor inaccuracies whilst the game is in Beta.

To connect your controller to the game you need to send 451 with a newline at the end. The game will send back 452. (source Nocturnal)