Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • honeylight honeylight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Honeypot
  • honeylighthoneylight
  • Merge requests
  • !3

WIP: esp: add offset in packet protocol

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Fjen Undso requested to merge offset into master Feb 22, 2018
  • Overview 2
  • Commits 2
  • Changes 2

This uses the reserved byte in the protocol to implement an offset. The first LED data in the packet will be drawn starting at the pixel with given offset. The rest of the pixels will stay the same. Surplus data at the end is ignored.

Untested on real hardware. Some calculations and operations were tested on the online micropython environment, to comply with the quirks of micropython. The size of the micropython.native code should not exceed its limits.

Edited Feb 22, 2018 by Fjen Undso
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: offset