This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
projects:a4sim:jsonfileformat [2020/01/04 22:41] dwheele |
projects:a4sim:jsonfileformat [2020/05/05 22:40] (current) dwheele [I2C Block] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | |||
| + | The copy of this file located on Raspberry Pi at ''/ | ||
| ==== Example ==== | ==== Example ==== | ||
| <code json> | <code json> | ||
| - | " | + | { |
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | {" | ||
| " | " | ||
| " | " | ||
| Line 31: | Line 43: | ||
| " | " | ||
| } | } | ||
| + | } | ||
| </ | </ | ||
| + | |||
| + | ==== General Dref Info ==== | ||
| + | |||
| + | ^name|Actual X-Plane Dref name| | ||
| + | ^hide|If " | ||
| + | ^datadirection|" | ||
| + | ^type|Data type of Dref, e.g., " | ||
| + | ^units|e.g., | ||
| + | ^notes|Reference notes, because JSON doesn' | ||
| + | ^i2c|I2C communications parameters and translation values| | ||
| + | |||
| + | ==== I2C Block ==== | ||
| + | ^address|I2C channel, in decimal e.g., 39| | ||
| + | ^enabled|If " | ||
| + | ^simvalue : interpolationDatapoints|Numeric array of values to be sent to or received by the simulator. Correspond to the values in hardware: | ||
| + | ^hardware : maptype |One of " | ||
| + | ^hardware : interpolationDatapoints|Numeric array of values to be sent to or received by the hardware device.| | ||
| + | ^hardware : type | One of " | ||
| + | ^notes|Comments, | ||
| + | ^register|I2C register, currently not implemented, | ||