Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev - Release Candidate with 10µs comms #65

Merged
merged 313 commits into from
Oct 6, 2019
Merged

Dev - Release Candidate with 10µs comms #65

merged 313 commits into from
Oct 6, 2019

Conversation

jbobrow
Copy link

@jbobrow jbobrow commented Oct 6, 2019

Merging the version of BlinkOS from dev to master since all development has been based on the dev branch for 9+ months. Some small updates for communication coming, and will remain on dev until confirmed for master.

What a mess! Maybe once these are completely seporated we can clean this up on the Arduino side.
…able!

Oh man what a bug! This table was generated using the code above it. I used an online C compiler to print it. When coping/pasting the output from the website into the code, it lost the line that happened to land on the page break!!!!
Thank god the game BossFight just happened to use the exact missing value of 34 in a plainly manifest way or we would have never ever ever found this!!!!!
Had to go to so it will fit in the bootloader. Still works fine, just the responibility is now on the higher level to make sure they obey the vertical retrace to avoid tearing (or live with tearing if efficiency counts like in the bootloader!).
Move pixelcolor.h to resovel Arduino path problem. Moved blinkboot out of libraries alltogether so solve double include problem (Arduino copies *all* lib files into one giant directory).
Clean up docs. Looks at sleep. Init display on load.
…e and time...

...also makes it possibe to initialize pixels in setup().
...can't have the same class in two different files becuase it blindly smashes everything together into one directory before compiling.
Also sender seems to hunt between PUSH packets?
…bootloader.

Wholely crap that was hard, but totally works!
jbobrow and others added 29 commits May 10, 2019 02:56
Look to the documentation repository for details on the API and how to use it. This allows us to keep the documentation updates by the crowd easier to manage than incorporating it into releases here.
Enjoy play testing our games in their latest form.
Update BIOS to version that includes atomic semaphore.
bigjosh/Move38-BlinkBIOS@68c977a
Closes #88
This is ugly, but too much work to put it back where it belongs in the BIOS code, which really should have a `layer` field in the header byte that sorts packets to the correct layer.
Added semaphore to fix issues w/ Speed Racer and similar after game transmission received messages.
A couple of edge case bugs seem present, but overall working quite well
Fix sparkle to look correct with new map function. Only change mode when not putting to sleep. Basic display in inert state.
Adding Speed Racer game. Debug serial printing in place to finish game mechanics
Now using a far more efficient sine wave. Wow! Major savings
Move bootloader to Arduino IDE bootloader folder
Added randomness to Asteroid population
Imprtant functional changes:

* Minimum working battery voltage is now 2.4V rather than 2.3V.
* There is now a slight delay on power up and wake while we wait for bandgap to stabilize.
Avoids unvoltage situation if battery bounces on contacts when you insert it.
Reducing the idle battery usage from ~160µA to ~0.24µA
updating to the latest master
updating to the latest master
updating to the latest master
updating to the latest master (adding random)
updating to the latest master
@jbobrow jbobrow merged commit 550abe0 into master Oct 6, 2019
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.

3 participants