Commit graph

9 commits

Author SHA1 Message Date
ladyada
95a782a0f9 Add SPI support and FIFO functionality with proper sign extension
Some checks failed
Arduino Library CI / build (push) Has been cancelled
- Add hardware and software SPI interface support via BusIO
- Implement FIFO test example with correct 23-bit sign extension fix
- Add calculateTemperature() and calculatePressure() functions for raw data
- Refactor existing read functions to use calculation functions
- Fix SPI mode to MODE3 and rename fulltest example directory

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 17:50:01 -04:00
ladyada
969dad2a1b Add Doxygen documentation for register defines
Some checks failed
Arduino Library CI / build (push) Has been cancelled
Fix Doxygen warnings by adding inline documentation for all register definitions

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 12:39:32 -04:00
ladyada
1387918ce6 Fix SPI begin() method ambiguity
Make SPIClass parameter non-optional to resolve compilation error when calling begin() with CS pin

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 09:24:30 -04:00
ladyada
72dc808eb4 Apply clang-format styling and add SPI example
- Format source code to comply with Adafruit style guidelines
- Add SPI interface example sketch

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 08:43:14 -04:00
ladyada
16cd13858f Fix Doxygen documentation error
Update product name references to use correct SPA06_003 naming with underscore

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 08:39:17 -04:00
ladyada
64a32e49da Add unified sensor API example and apply code formatting
- Add sensorapi example demonstrating Adafruit Sensor interface
- Shows sensor specifications and metadata from datasheet
- Uses sensors_event_t structure for standardized readings
- Includes timestamp information for data logging compatibility
- Apply clang-format to ensure consistent code style

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-26 20:56:23 -04:00
ladyada
90888d0e86 Add auto-configuration for highest precision and new simpletest example
- Configure begin() for highest precision (128x oversampling, 200Hz rate)
- Enable temperature and pressure ready interrupts automatically
- Add simpletest example with data-driven updates
- Update library.properties with Adafruit Unified Sensor dependency

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-26 20:53:24 -04:00
ladyada
5d58b347f9 Remove .claude folder and add to gitignore
- Remove Claude Code settings from repository
- Add .claude/ to gitignore to prevent future commits
- Add Adafruit Unified Sensor dependency for CI builds

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-26 16:57:25 -04:00
ladyada
42528b07aa Initial commit - Complete Adafruit SPA06_003 Arduino library
Features:
- Fixed coefficient parsing with correct bit field extraction
- Temperature and pressure compensation algorithms
- Pressure readings in hPa (hectopascals)
- Adafruit_Sensor unified interface compatibility
- Complete register access and configuration API
- FIFO support and interrupt handling

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-26 16:52:29 -04:00