Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. if (command == 'W' && variable == VAR_INTEGRATION_TIME) {
  2.     INT32U b0 = next_char();
  3.     INT32U b1 = next_char();
  4.     INT32U b2 = next_char();
  5.     INT32U b3 = next_char();
  6.     set_integration_time(pmd_regs, (b3 << 24) | (b2 << 16) | (b1 << 8) | b0);
  7.     printf("Integration time changed to: %lu\n", get_integration_time(pmd_regs));
  8.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement