/////////////////////////////////////////////////////// OPERATING MODE note: use CZR_COMMAND to minimize power consumption CZR_POLLING and CZR_STREAMING use an equally amount of power as both sample continuously...
| 75 | // of power as both sample continuously... |
| 76 | // |
| 77 | bool COZIR::setOperatingMode(uint8_t mode) |
| 78 | { |
| 79 | if (mode > CZR_POLLING) return false; |
| 80 | _operatingMode = mode; |
| 81 | sprintf(_buffer, "K %u", mode); |
| 82 | _command(_buffer); |
| 83 | return true; |
| 84 | } |
| 85 | |
| 86 | |
| 87 | //////////////////////////////////////////////////////////// |