Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (command == 'W' && variable == VAR_INTEGRATION_TIME) {
- INT32U b0 = next_char();
- INT32U b1 = next_char();
- INT32U b2 = next_char();
- INT32U b3 = next_char();
- set_integration_time(pmd_regs, (b3 << 24) | (b2 << 16) | (b1 << 8) | b0);
- printf("Integration time changed to: %lu\n", get_integration_time(pmd_regs));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement