(Skillmatics)
The repository contains the following files:
- technical_prototype - Final code which contains dependencies on all other files. To be run on an Arduino Uno/ATMega328P microcontroller natively. All components and their respective pin locations are documented within comments
- colour_functions - Contains all the functions necessary for detection and analysis of the colour displayed in front of the toy using the TCS3200 colour sensor. Pin map in code.
- music_and_lights - Contains all the functions necessary for white LED output and ones required for audio output through an attached speaker. Audio files not included.
- test_functions - Contains all functions necessary for testing and calibrating the colour sensor. Corresponding functions in the main code file can be uncommented to use.
- rgb_functions - Contains all functions necessary for RGB LED output.
- pins_defined - Header file containing all pin placements along with corresponding component details.
- pitches.h - Header file containing data utilised by piexoelectric buzzer to play tunes in place of speaker if using a speaker is not possible. Corresponding lines in main code have been commented out.
- mode_1 to mode_5 - Contains code for all 5 modes of the gameplay. Gameplay ellaborated as comments in respective files