# WPILIB support for sensors

**URL:** <https://xrp.discourse.group/t/wpilib-support-for-sensors/274>\
**Category:** Support\
**Created:** [February 29, 2024, 10:50pm UTC](https://xrp.discourse.group/t/wpilib-support-for-sensors/274 "2024-02-29T22:50:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcoxwell](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jcoxwell](https://xrp.discourse.group/u/jcoxwell)\
**Post date:** [February 29, 2024, 10:50pm UTC](https://xrp.discourse.group/t/wpilib-support-for-sensors/274/1 "2024-02-29T22:50:41Z")

</div>

I’m using WPILIB 1.0.1 but I’m not able to get the included sensors to work. AnalogInput.getVoltage always returns 0.0 on channels 0, 1, and 2. I rolled back to PICO firmware and verified that the sensor hardware is working. How can I troubleshoot this?

---

<div class="post-metadata">

**Author:** ![ZeeQueue](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/zeequeue/32/35_2.png) [@ZeeQueue](https://xrp.discourse.group/u/ZeeQueue)\
**Post date:** [March 1, 2024, 11:25am UTC](https://xrp.discourse.group/t/wpilib-support-for-sensors/274/2 "2024-03-01T11:25:21Z")

</div>

Just to check, you’re using the 2024 version of WPILib right? (Latest version is 2024.3.1). Do you have a link to the code that you’re using?

---

<div class="post-metadata">

**Author:** ![jcoxwell](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jcoxwell](https://xrp.discourse.group/u/jcoxwell)\
**Post date:** [March 2, 2024, 2:30am UTC](https://xrp.discourse.group/t/wpilib-support-for-sensors/274/3 "2024-03-02T02:30:21Z")

</div>

I reinstalled firmware 1.0.1 and updated WPILib 2024.2.1 → 2024.3.1 and it worked. Thank you.
