ReduxLib C++ 2026.1.2
Loading...
Searching...
No Matches
ColorPeriod.h
1// Copyright (c) Bagholders of Redux Robotics and other contributors.
2// This is open source and can be modified and shared under the Mozilla Public License v2.0.
3
4#pragma once
5
7
8/**
9 * Color integration period selection.
10 *
11 * Values correspond to firmware-defined integration periods used by the color sensor.
12 */
13enum class ColorPeriod {
14 k1ms = 0x0,
15 k2ms = 0x1,
16 k4ms = 0x2,
17 k8ms = 0x3,
18 k16ms = 0x4,
19 k32ms = 0x5,
20 k64ms = 0x6,
21 k128ms = 0x7,
22 k256ms = 0x8,
23 k512ms = 0x9,
24 k1024ms = 0xa,
25};
26
27} // namespace redux::sensors::canandcolor
Definition Canandcolor.h:19
ColorPeriod
Definition ColorPeriod.h:13