KerbalSystems/KSP_DCPU16_Standards — pull request #1 by xZise (2013-07-30 11:09:42+00:00)
Title: Adds CAEDv2

The CAED allows software to access the sensor data. It also adds four altitude interrupts which allow altitudes in meters (48 bit, ≃ 281 Tm or ≃ 200000× farther than Eeloo) or other units like in 10ths of kilometers. With either 16bit or 32bit. Only Moho's periapsis is below 2³²-1 meters. All other planetary apsides are outside that boundary. But 32bit (in meters) are sufficient for any planetary altitude. Minmus orbit for example is within 16bit (kilometers).

Also all sensor data should be enough for most cases. 65 m/s² may not always be sufficient as this are only 6.68g, but with the 32bit extension it is possible tor read values up to 437 000g!

As I'm not sure how to exactly access KSP sensors it might be possible to change the definitions: For example if the accelerometer only is exact in cm/s², the device might should return the acceleration in cm/s².