Skip to content

Add Formaldehyde (HCHO) data type support - #63

Open
tyeth wants to merge 1 commit into
masterfrom
claude/formaldehyde-data-type-bbbd7d
Open

tyeth wants to merge 1 commit into
masterfrom
claude/formaldehyde-data-type-bbbd7d

Conversation

@tyeth

@tyeth tyeth commented Oct 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Add SENSOR_TYPE_HCHO (type 32) for formaldehyde measurements in parts per billion (ppb)
  • Add hcho float field to sensors_event_t union for storing HCHO values
  • Add printSensorDetails case statement for HCHO sensor type display
  • Bump library version from 1.1.15 to 1.1.16

Changes

  • Added SENSOR_TYPE_HCHO constant and union field in Adafruit_Sensor.h
  • Updated printSensorDetails() in Adafruit_Sensor.cpp to handle HCHO sensor type
  • Updated library version in library.properties

🤖 Generated with Claude Code

- Add SENSOR_TYPE_HCHO (type 32) for formaldehyde measurements
- Add hcho float field to sensors_event_t union for ppb values
- Add printSensorDetails case for HCHO sensor type display
- Update library version from 1.1.15 to 1.1.16
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@tyeth
tyeth force-pushed the claude/formaldehyde-data-type-bbbd7d branch from 8943935 to ac0cc95 Compare October 1, 2026 11:55
@tyeth
tyeth requested a review from brentru October 1, 2026 12:38
@tyeth

tyeth commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

@brentru this is ready for review, and is necessary for the SEN68 and SEN69c air quality sensors.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant