You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sandeep T edited this page Jan 30, 2016
·
2 revisions
Welcome to the BIT-Racer- wiki!
Welcome to the BIT-Racer wiki!
How to run?
To run the game, copy the header(.h) and C(.c) files to your atmel studio project.
Build the project.
Burn the hex file to your AVR microcontroller.
Circuit Connections
Here, we are running the LCD in 8-bit mode.
The connections of the LCD are:
D0 PINB0
D1 PINB1
D2 PINB2
D3 PINB3
D4 PINB4
D5 PINB5
D6 PINB6
D7 PINB7
RS PIND0
EN PIND1
The RW pin is to be connected to ground(0V) because we are always writing to the LCD.
Modifying
If you want to modify the code to create new levels or fix bugs, FORK this page.
Then clone the FORK using GitShell/GitBash.
Use your imagination to create new levels to make the game more interesting OR your debugging skills to make it bug free.
Contribution
Modularising the code.
The levels of the game are written in main() itself.
Code readability can be improved by creating functions for corresponding levels.