TB_TalkDice.c is a talking 1-6 "DICE" project using the TalkBot Brain PCB.
To install this firmware in the TalkBotBrain you will need a PIC programmer
that can in-circuit program the PIC 16F628.
For more info, see;
www.TalkBotBrain.com/TalkBot_SourceFiles.htm

/******************************************************************************
  TB_TalkDice.c   - Open Source - Roman Black - Sept 2009
  See; www.TalkBotBrain.com/TalkBot_SourceFiles.htm
  This is a "talking dice" that rolls 1-6 for game playing.
  There are 12 sound samples; 6 (spoken) 1-6, and also 6 sound effects.
  The dice "rolls" 1-6 then speaks 1 of 6 sound sequences.

  This was originally based on the original TalkBot "Slave6"
  random sound player.
  Operation;
    1. press button
    2. it plays one of 6 sound SEQUENCES 
    3. LED "eyes" light up while sound is playing
    4. then LED flashes the roll (1-6) for 2 minutes
    5. Then it goes back into low power sleep mode (150uA)

  The main change to the Slave6 software is that the LED flashes
  the roll (1-6) for 2 minutes after the roll was cast. This
  stops people arguing about what the roll was! It also has a
  modified play_random_sound() function to play 6 sound
  sequences (based on the roll of 1-5).
  After 2 minutes it goes back into low power mode, 140uA,
  with 4x AA batteries will last 6 to 12 months.

  Connections;
  PORTB.F5 is the "roll dice" button, low = pressed (also BUT1)
  PORTA.F3 is the LED (glowing eyes!), high = lit
******************************************************************************/

