> For the complete documentation index, see [llms.txt](https://docs.andymark.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.andymark.com/frc-electronics/can-sensors/can-color-sensor-am-5683/device-api.md).

# Device API

These links reference the **AmLib 2026.1.0** API documentation for the CAN Color Sensor. Install the [latest 2026 AndyMark vendor library](/frc-electronics/wpilib-am-vendor-library-setup/andymark-vendor-jsons.md) and keep the device firmware compatible with the selected library version.

## C++

{% embed url="<https://andymarkproductsoftware.github.io/amlib-vendordep/documentation/2026/2026.1.0/doxygen-cpp/html/class_a_m___c_a_n_color_sensor.html>" %}

## Java

{% embed url="<https://andymarkproductsoftware.github.io/amlib-vendordep/documentation/2026/2026.1.0/doxygen-Java/html/classcom_1_1andymark_1_1jni_1_1_a_m___c_a_n___color___sensor.html>" %}

{% hint style="info" %}
For SystemCore and 2027-season development, use the current version listed on the AndyMark Vendor JSONs page rather than assuming the 2026 API is interchangeable.
{% endhint %}
