Repository navigation
Document I2C devices that answer reads, and the sensor parts built on them - #2
Merged
Merged
Conversation
context.i2c gains serve() and setRegisters(): a part publishes a register bank and the bus answers the sketch's reads from it, pointer first and auto-incrementing, the way I2C sensors work. The limits section now says what is still missing (SPI, UART, 1-Wire). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Seven parts shipped in pinbench_parts: TMP36, LM35, a capacitive soil probe, a 9 V battery, and four I2C sensors (BH1750, MPU-6050, DS1307, AHT20) whose LOGIC serves registers the sketch reads. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs only, in
doc/PDL.md. The code this describes lives in PinBench/pinbench (pinbench_parts/pinbench_sim).What changes
context.i2c(e834b31) gainsserve()andsetRegisters(). A part publishes a register bank, and the bus answers the sketch's reads from it: pointer first, auto-incrementing, the way I²C sensors work. The Limits section now says what's still missing (SPI, UART, 1-Wire).59951b8) now lists the seven new.pdlparts: TMP36, LM35, a capacitive soil probe, a 9 V battery, and four I²C sensors (BH1750, MPU-6050, DS1307, AHT20). The built-in LOGIC table gains their four logics.Notes for the reviewer
PinBench/pinbench points its
packages/pinbench_pdlsubmodule at59951b8, so merging with a merge commit keeps that pointer onmain.pinbench_partsdepends on this repo'smainby ref, but only for code, which this PR doesn't touch.🤖 Generated with Claude Code