The code was composed of 3 main pieces of functionality needed for the concept to work:
Each piece of the code was used to define a part of the interaction process. A set of tools and structures were used to create the flow of events.
We set the code for each bus stop up with the necessary pin variables, a standard speed at which the flag colors function should change each pixel in the strip and a boolean to denote whether or not there is movement being sensed by the PIR (for bus stop 1 only).
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .