-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Welcome to the BIT-Racer- wiki! Welcome to the BIT-Racer wiki!
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.
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.
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.
Modularising the code.
The levels of the game are written in main() itself.
Code readability can be improved by creating functions for corresponding levels.