Skip to content

Instantly share code, notes, and snippets.

@Gkiokan
Created March 8, 2026 15:15
Show Gist options
  • Select an option

  • Save Gkiokan/8aefe4cdb439e4bf2c6c6fda1f7857db to your computer and use it in GitHub Desktop.

Select an option

Save Gkiokan/8aefe4cdb439e4bf2c6c6fda1f7857db to your computer and use it in GitHub Desktop.
pa5x ribbon controll board debugg
[FOUND] I2C device found at address 0x0B
@Gkiokan
Copy link
Copy Markdown
Author

Gkiokan commented Mar 9, 2026

## Your Packet Structure Summary

Based on this function and the ones before it, your 6-byte packet likely looks like this:

Byte Offset | Value / Meaning | Source -- | -- | -- 0 | 0x12 (Header) | Hardcoded in 0d10 1 | 0x06 (Length) | Hardcoded in 0d10 2 | param_1 (Zone/ID) | Input to 0d10 3 | X-Coordinate | From FUN_00001880 4 | Y-Coordinate | From FUN_00001880 5 | Checksum / Status | Calculated before buffer push

@Gkiokan
Copy link
Copy Markdown
Author

Gkiokan commented Mar 9, 2026

We found several "Magic Numbers" that you will need for your ESP32 code:

0x230: A flag indicating if an averaging cycle is complete.

0x0D: A special state (likely "Calibration Mode" or "Deep Sleep").

0x12: Again, confirming the Start Header for all outgoing data.

@Gkiokan
Copy link
Copy Markdown
Author

Gkiokan commented Mar 10, 2026

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