HOME

PROJECTS

TUTORIALS

C FUNCTIONS

PROGRAMS

PRODUCTS

VIDEOS

COMPANY

SPANISH

                 

project: fabulous fred game for the Bolt 18F2550 system.

Author: Nydia Angelica Valencia Molina

 

 

 

Introduction:

When programming microcontrollers, using interrupts is a technique based on an automatic mechanism in the hardware of the microcontroller, which allows a device to provide service to internal or external devices, only at the moment it is required.

In this  enjoyable program, interrupts of timer 0 of 18F2550 are used to generate a 1 second time base. In order to generate true random numbers for the leds sequence of the game, the seed for the random is changed in every run.

Below is the complete folder of the project. Please read instructions in the .c program. You may load the .hex program in your Bolt 18F2550 system using Bolt v.1.0.1 software.

Do not forget to connect the LCD and keypad to play the game.

The game tests the participants visual memory. Has 3 levels of difficulty.

C18-FABULOUS-FRED.zip