2019-08-17 (Sa) PillarGame

Pseudo-code from yesterday was translated into Arduino code, and after some massaging, it worked. Mostly. A 64-byte array for incoming integers was capped in the reading portion at 16 which meant that all the command strings more than 15 bytes, like "L900,255,255,255", were cut short. That particular string would have turned the last LED on the lower row to full-intensity white. Formatting also allows spaces in the command so "L0, 255, 0, 0" and "L0,255,0,0" do the same thing. In fact, any ASCII character outside the numbers and comma will be ignored so extra letters sprinkled in there would not hurt.

One of the rows, topmost in the picture, displayed colors in a warmer hue than the lower rows and it seemed to be a problem with the LED hardware. In gameplay, this may be distracting, but if it is a hardware problem, it will not follow to the next strip of lights. The opposite strip of LEDs had trouble maintaining consistency. It would change colors with each refresh, seemingly at random. Hopefully, this is not a memory allocation problem.

The top row is a warmer color, and the bottom row was glitchy

The rest of the posts for this project have been arranged by date.

First time here?

Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6

Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com

This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.

All information in this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.

All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by  Brian McEvoy, cannot be used to claim property or assets.

Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.

This blog, including pictures and text, is copyright to Brian McEvoy.