MrDEB
Well-Known Member
Not sure where to start but need some advice on where to start.
Am contemplating an 8 player board game using a pic and leds. Thinking that I need to write to the ROM? But where to start.
Each player has a monetary push button
when the START led is enabled then all the players press the button in front of them thus telling the pic location of each player. Players at position 1,3,4,5,& 7. Thus port.bits 1,3,4,5 &7 are driven LOW
Each player releases their button switch and play begins.
When the led in front of each player is enabled it is that players turn to play until his / her is timed out
The play proceeds to the next player (#3 in example) until player #7 plays then back to player #1
How do I write to the ROM or RAM to enable only the port bits 1,3,4,5,&7 only.
When I read the bits in the port, how to save which bits are viable (LOW at the beginning of game) and continue until end of game.
Am contemplating an 8 player board game using a pic and leds. Thinking that I need to write to the ROM? But where to start.
Each player has a monetary push button
when the START led is enabled then all the players press the button in front of them thus telling the pic location of each player. Players at position 1,3,4,5,& 7. Thus port.bits 1,3,4,5 &7 are driven LOW
Each player releases their button switch and play begins.
When the led in front of each player is enabled it is that players turn to play until his / her is timed out
The play proceeds to the next player (#3 in example) until player #7 plays then back to player #1
How do I write to the ROM or RAM to enable only the port bits 1,3,4,5,&7 only.
When I read the bits in the port, how to save which bits are viable (LOW at the beginning of game) and continue until end of game.