sendHighScores(which score)

From pinHeck Wiki
Jump to: navigation, search

The A/V processor does not know the top scores upon boot. One of the things the PIC32 must do is get the high scores from the EEPROM, then send that to the A/V processor so they can be displayed during attract mode.

Example:

sendHighScores(0);

Send top score

sendHighScores(1);

Send second place

sendHighScores(2);

Send third place

sendHighScores(3);

Send fourth place

sendHighScores(4);

Send fifth place

Currently the system displays and sorts the top 5 scores. This may increase in the future.