a daveConnection
Position in bytes
1 // read 4 timers: each timer has 2 bytes 2 const(int) res = daveReadBytes(dc, daveTimer, 0, 0, 4, null); 3 // read second of timer 2 4 float d = daveGetSecondsAt(dc, 4); 5 // 4 because: 6 // | pos | timer | 7 // | 0 | timer 0 | 8 // | 1 | timer 0 | 9 // | 2 | timer 1 | 10 // | 3 | timer 1 | 11 // | 4 | timer 2 | <---- 12 // | 5 | timer 2 |
Get time in seconds from random position