Difference between revisions of "Five Minutes of Fame"

From Noisebridge
Jump to: navigation, search
m (Reverted edits by RonaldCotani (talk) to last revision by 76.14.67.86)
(adding a template)
 
(167 intermediate revisions by 45 users not shown)
Line 1: Line 1:
==What is it?==
+
<div style="margin:auto;text-align: center;border: 6px solid #00b;background-color:#fff;color:#000; margin:0.5em;">
 +
<br>
 +
<span style="font-size:50px; color: red; font-weight: bold">5MoF</span>
 +
<br>
 +
8:00pm Third Thursdays of every month!
  
Five Minutes of Fame (5MoF) is an adaptation of CCC's Lightning Talks. Our implementation is ten five minute talks in an hour, with a short intermission so you can get another beer.
+
3rd Floor 2169 Mission Street, ring the bell to enter the space!
 +
<br>
  
Check out these 30 seconds of fame excerpts from May for a taste: http://www.youtube.com/watch?v=IQUGQ3Plj-w
+
'''<span style="font-size:50px; text-decoration: underline; color: #0ff">[[Five_Minutes_of_Fame_2019_1_17|January 17 2019]]</span>'''
  
==When and where does it happen?==
+
</div>
 +
Next: [[Five_Minutes_of_Fame_2019_01_17|January 17 5MoF]]
  
Third Thursday of every month at 8pm, at Noisebridge, 2169 Mission St, San Francisco.
+
Prev: [[Five_Minutes_of_Fame_2019_02_21|February 21 5MoF]]
  
<!--- [[File:5MoF_flyer_111512.jpg|400px|right]] --->
+
[[5MOF_Template|5 MoF Template]]
+
 
=== Thursday, January 16th, 8 PM, It's on! [http://5mof.net/signup/ Sign up!]===
+
== 2019 ==
<strong>just email danny@spesh.com for now until we fix the signup web site</strong>
+
 
                         
+
[[Five_Minutes_of_Fame_2019_1_17|January 17th -- 5MoF 2019]]
As if you needed ANY reminder, Five Minutes of Fame is Noisebridge's ADD
+
 
show-and-tell, squashing octets of human awesomeness into an hour like
+
[[Five_Minutes_of_Fame_2019_02_21|February 21st -- ]]
booleans in a packed byte.
+
 
 +
[[Five_Minutes_of_Fame_2019_03_21|March 21st -- ]]
 +
 
 +
[[Five_Minutes_of_Fame_2019_04_18|April 18th -- ]]
 +
 
 +
[[Five_Minutes_of_Fame_2019_05_16|May 16th --]]
 +
 
 +
[[Five_Minutes_of_Fame_2019_06_20|June 20th -- ]]
  
<font size="4">The next 5moF [[Five_Minutes_of_Fame_2014_01_16]]</font>
+
[[Five_Minutes_of_Fame_2019_07_18|July 18th -- ]]
  
<pre>
+
[[Five_Minutes_of_Fame_2019_08_15|August 15th --]]
  _  _  _____ __  __  ____  ______
 
_| || |_| ____|  \/  |/ __ \|  ____| Noisebridge 8PM third Thursdays
 
|_  __  _| |__ | \  / | |  | | |__    Four Years of Childlike Wonder and
 
_| || |_|___ \| |\/| | |  | |  __|  Adult Technological Themes in
 
|_  __  _|___) | |  | | |__| | |      San Francisco's 548th Finest
 
  |_||_| |____/|_|  |_|\____/|_|      Hacker Show and Tell.
 
  
 +
[[Five_Minutes_of_Fame_2019_09_19|September 19th -- ]]
  
_    _            _      _  _            _____  _                  _  _
+
[[Five_Minutes_of_Fame_2019_10_17|October 17th -- ]]
| |  | |          | |    | | | |          |  __ \| |                | | | |
 
| |__| | __ _  ___| | __ | |_| |__  ___  | |__) | | __ _ _ __  ___| |_| |
 
|  __  |/ _` |/ __| |/ / | __| '_ \ / _ \ |  ___/| |/ _` | '_ \ / _ \ __| |
 
| |  | | (_| | (__|  <  | |_| | | |  __/ | |    | | (_| | | | |  __/ |_|_|
 
|_|  |_|\__,_|\___|_|\_\  \__|_| |_|\___| |_|    |_|\__,_|_| |_|\___|\__(_)
 
                                                                         
 
  
Third Thurs, 8PM, Noisebridge, 2169 Mission St, SF, CA, Earth Prime
+
[[Five_Minutes_of_Fame_2019_11_15|November 21st -- ]]
  
More info: http://nburl.net/5mof
+
[[Five_Minutes_of_Fame_2019_12_13|December 19th -- ]]
Get here: http://nburl.net/gethere
 
  
Submit your talk now! http://5mof.net/signup/
+
==What is Five Minutes of Fame?==
</pre>
+
Five Minutes of Fame (5MoF) is ten five minute talks in an hour, with a short intermission so you can get another beer.
 +
Talks tend to be ad-hoc, poorly-planned, and awe-inspiring.
  
==Why are we doing this?==
+
==How do I sign up to give a talk?==
 +
Sign up to speak by following the link above, clicking "edit", and adding yourself to the list.
  
There are many reasons:
+
==When and Where?==
* It's great for people who are interested in what's going on at Noisebridge -- no need to sit through long lectures.
+
5MoF happens [[Getting_here|at Noisebridge, 2169 Mission St, San Francisco]] every 3rd Thursday of the month at 8pm.
* Some people are working on projects that are not ready for a full 30 minute or hour long talk, but they want to get their ideas out. Maybe they need help, maybe they want to propose an idea to the Noisebridge community.
 
* Some people are shy to public speaking and want to practice without giving an "official" conference talk, which can be daunting. This is a great way to try it out, in a community of peers.
 
* San Francisco is the mecca for startups. If you're trying to sell your idea to someone, you need to be able to explain it in five minutes or less.
 
* [http://en.wikipedia.org/wiki/Discordianism#Law_of_Fives "The Law of Fives"]
 
  
==How can I participate?==
+
==Questions, comments, and more info==
  
[[Category:Events]]
+
Interested in [[Past 5mofs]]? Or the [https://www.meetup.com/noisebridge/events/hprdhqyxnbxb/ meetup page]?
  
===[http://5mof.net/signup/ Sign up to speak at 5 Minutes of Fame here!] ===
+
==Past 5MoFs==
  
Or just mail me at danny@spesh.com and I will put you on my secret spreadsheet. I will also mail you on the Monday before the event!
+
== 2018 ==
  
==How can I attend?==
+
*  [[Five_Minutes_of_Fame_2018_01_18|2018-01-18]]
 +
*  [[Five_Minutes_of_Fame_2018_02_15|2018-02-15]]
 +
*  [[Five_Minutes_of_Fame_2018_03_08|2018-03-08]]
 +
*  [[Five_Minutes_of_Fame_2018_03_15|2018-03-15]]
 +
*  [[Five_Minutes_of_Fame_2018_04_19|2018-04-19]]
 +
*  [[Five_Minutes_of_Fame_2018_05_17|2018-05-17]]
 +
*  [[Five_Minutes_of_Fame_2018_06_21|2018-06-21]]
 +
*  [[Five_Minutes_of_Fame_2018_07_19|2018-07-19]]
 +
*  [[Five_Minutes_of_Fame_2018_08_16|2018-08-16]]
 +
*  [[Five_Minutes_of_Fame_2018_10_18|2018-10-18]]
 +
*  [[Five_Minutes_of_Fame_2018_11_15|2018-11-15]]
 +
*  [[Five_Minutes_of_Fame_2018_12_13|2018-12-13]]
  
Just show up! 2169 Mission St, San Francisco
 
  
We're located at:<br>'''[[Getting Here|2169 Mission St]], San Francisco'''<br>[http://www.openstreetmap.org/?mlat=37.762352&mlon=-122.419372&zoom=16 OpenStreetMap] - [http://maps.google.com/?q=2169+Mission+Street,+94110 Google Maps]<br>2 blocks South of [[Getting_Here#Getting_Here_by_BART | 16th & Mission BART]]
+
=== 2017 ===
 +
* [[Five_Minutes_of_Fame_NB10|10 Years of noisebridge]]
 +
* [[Five_Minutes_of_Fame_2017_08_17|2017-08-17]]
 +
* [[Five_Minutes_of_Fame_2017_07_20|2017-07-20]]
 +
* [[Five_Minutes_of_Fame_2017_02_02 | 2017-02-02]]
 +
* [[Five_Minutes_of_Fame_2017_01_26 | 2017-01-26]]
  
If for any reason you're unable to attend, you can usually watch it live on our [http://www.ustream.tv/user/noisebridge UStream Channel].
+
=== 2016 ===
 +
* [[Five_Minutes_of_Fame_2016_12_08 | 2016-12-08]]
 +
* [[Five_Minutes_of_Fame_2016_12_01 | 2016-12-01]]
  
==Other Questions==
+
=== 2015 ===
 +
* [[Five Minutes of Fame 2015 06 18 | 2015-06-18]]
  
Can anyone attend or speak?
+
* [[Five Minutes of Fame 2015 05 21 | 2015-05-21]]
 +
=== 2014 ===
 +
* [[Five_Minutes_of_Fame_2014_09_18 | 2014-09-18]]
  
:''There are a limited number of slots for speakers, and members or regulars are given priority to speak about the projects they are working on. Although there are substitutes for people don't show, schedule early to be assured your 5MoF!''
+
* [[Five_Minutes_of_Fame_2014_05_15 | 2014-05-15]]
  
What if I show up late?
+
* [[Five_Minutes_of_Fame_2014_04_16 | 2014-04-16]]
  
:''If you are giving a talk, please notify me so we can rearrange the schedule. If you want to see a talk that you're going to miss, find the person who gave it and chat with them for five minutes :)''
+
* [[Five_Minutes_of_Fame_2014_03_20 | 2014-03-20]]
  
==Past 5MoFs==
 
 
=== 2013 ===
 
=== 2013 ===
 
* [[Five_Minutes_of_Fame_2013_02_21 | 2013-02-21]]
 
* [[Five_Minutes_of_Fame_2013_02_21 | 2013-02-21]]
Line 87: Line 105:
 
* [[Five_Minutes_of_Fame_2011_01_20 | 2011-01-20]]
 
* [[Five_Minutes_of_Fame_2011_01_20 | 2011-01-20]]
 
=== 2010 ===
 
=== 2010 ===
* [[Five_Minutes_of_Fame_2010_01_21 | 2010-01-21]]
+
* [[Five_Minutes_of_Fame_2010_12_16 | 2010-12-16]]
 +
 
 +
* [[Five_Minutes_of_Fame_2010_11_18 | 2010-11-18]]
 +
 
 +
* [[Five_Minutes_of_Fame_2010_10_21 | 2010-10-21]]
 +
 
 +
* [[Five_Minutes_of_Fame_2010_09_16 | 2010-09-16]]
 +
 
 +
* [[Five_Minutes_of_Fame_2010_08_19 | 2010-08-19]]
 +
 
 +
* [[Five_Minutes_of_Fame_2010_07_15 | 2010-07-15]]
 +
 
 +
* [[Five_Minutes_of_Fame_2010_06_17 | 2010-06-17]]
 +
 
 +
* [[Five_Minutes_of_Fame_2010_05_20 | 2010-05-20]]
 +
 
 +
* [[Five_Minutes_of_Fame_2010_04_15 | 2010-04-15]]
 +
 
 +
* [[Five_Minutes_of_Fame_2010_03_18 | 2010-03-18]]
  
 
* [[Five_Minutes_of_Fame_2010_02_18 | 2010-02-18]]
 
* [[Five_Minutes_of_Fame_2010_02_18 | 2010-02-18]]
  
* [[Five_Minutes_of_Fame_2010_03_18 | 2010-03-18]]
+
* [[Five_Minutes_of_Fame_2010_01_21 | 2010-01-21]]
 +
=== 2009 ===
 +
 
 +
* [[Five_Minutes_of_Fame_2009_12_17 | 2009-12-17]]
  
* [[Five_Minutes_of_Fame_2010_04_15 | 2010-04-15]]
+
* [[Five_Minutes_of_Fame_2009_11_19 | 2009-11-19]]
  
* [[Five_Minutes_of_Fame_2010_05_20 | 2010-05-20]]
+
* [[Five_Minutes_of_Fame_2009_10_15 | 2009-10-15]]
  
* [[Five_Minutes_of_Fame_2010_06_17 | 2010-06-17]]
+
* [[Five_Minutes_of_Fame_2009-09-17 | 2009-09-17]]
  
* [[Five_Minutes_of_Fame_2010_07_15 | 2010-07-15]]
+
* [[Five Minutes of Fame 2009-08-20 | 2009-08-20]]
  
* [[Five_Minutes_of_Fame_2010_08_19 | 2010-08-19]]
+
* [[Five Minutes of Fame 2009-07-16 | 2009-07-16]]
  
* [[Five_Minutes_of_Fame_2010_09_16 | 2010-09-16]]
+
* [[Five Minutes of Fame 2009-06-18 | 2009-06-18]]
  
* [[Five_Minutes_of_Fame_2010_10_21 | 2010-10-21]]
+
* [[Five Minutes of Fame 2009-05-21 | 2009-05-21]]
  
* [[Five_Minutes_of_Fame_2010_11_18 | 2010-11-18]]
+
* [[Five Minutes of Fame 2009-04-16 | 2009-04-16]]
  
* [[Five_Minutes_of_Fame_2010_12_16 | 2010-12-16]]
+
* [[Five Minutes of Fame 2009-03-19 | 2009-03-19]]
=== 2009 ===
 
  
 
* [[Five Minutes of Fame 2009-02-19 | 2009-02-19]]
 
* [[Five Minutes of Fame 2009-02-19 | 2009-02-19]]
  
* [[Five Minutes of Fame 2009-03-19 | 2009-03-19]]
+
== CODE ==
 +
 
 +
<pre>
 +
/*
 +
  _  _  _____ __  __  ____  ______
 +
_| || |_| ____|  \/  |/ __ \|  ____| Noisebridge 8PM third Thursdays
 +
|_  __  _| |__ | \  / | |  | | |__    Years & years of Childlike Wonder &
 +
_| || |_|___ \| |\/| | |  | |  __|  Adult Technological Themes in
 +
|_  __  _|___) | |  | | |__| | |      San Francisco's XXXth Finest
 +
  |_||_| |____/|_|  |_|\____/|_|      Hacker Show and Tell.
 +
 
 +
 
 +
_    _            _      _  _            _____  _                  _  _
 +
| |  | |          | |    | | | |          |  __ \| |                | | | |
 +
| |__| | __ _  ___| | __ | |_| |__  ___  | |__) | | __ _ _ __  ___| |_| |
 +
|  __  |/ _` |/ __| |/ / | __| '_ \ / _ \ |  ___/| |/ _` | '_ \ / _ \ __| |
 +
| |  | | (_| | (__|  <  | |_| | | |  __/ | |    | | (_| | | | |  __/ |_|_|
 +
|_|  |_|\__,_|\___|_|\_\  \__|_| |_|\___| |_|    |_|\__,_|_| |_|\___|\__(_)
 +
                                                                         
 +
 
 +
Third Thurs, 8PM, Noisebridge, 2169 Mission St, SF, CA, Earth Prime
 +
 
 +
More info: http://nburl.net/5mof
 +
Get here: http://nburl.net/gethere
 +
 
 +
Submit your talk now! http://5mof.net/signup/
 +
 
 +
                                                            1/13/14
 +
                                                              -thex
 +
                                                              #fort
 +
                                                             
 +
        Hardware h4x0r extradonaire, the hilaire.
 +
 
 +
    Send b33r or b!tcoin to noisebridge, c/o #fort
 +
 
 +
*/
 +
 
 +
// Number of segments (Shift Register * 8)
 +
#define numOfRegisterPins 24
 +
 
 +
int SER_Pin = 8;  //pin 14 on the 75HC595
 +
int RCLK_Pin = 9;  //pin 12 on the 75HC595
 +
int SRCLK_Pin = 10; //pin 11 on the 75HC595
 +
 
 +
// Number of seconds to count from (5 minutes)
 +
int counter = 301;
 +
 
 +
boolean registers[numOfRegisterPins];
 +
 
 +
// Time has expired, count up
 +
boolean timeUp = false;
 +
 
 +
int segments[] = {1, 2, 4, 5, 6, 7, 0, // 0
 +
                  2, 4, 0, 0, 0, 0 ,0, // 1
 +
                  1, 2, 3, 6, 7, 0, 0, // 2
 +
                  1, 2, 3, 4 ,7, 0, 0, // 3
 +
                  2, 3, 4, 5, 0, 0, 0, // 4
 +
                  1, 3, 4, 5, 7, 0, 0, // 5
 +
                  3, 4, 5, 6, 7, 0, 0, // 6
 +
                  1, 2, 4, 0, 0, 0, 0, // 7
 +
                  1, 2, 3, 4, 5, 6, 7, // 8
 +
                  1, 2, 3, 4, 5, 7, 0  // 9
 +
                                      // A
 +
                                      // B
 +
                                      // C
 +
                                      // D
 +
                                      // E
 +
                                    };// F
 +
 
 +
void setup()
 +
{
 +
  pinMode(SER_Pin, OUTPUT);
 +
  pinMode(RCLK_Pin, OUTPUT);
 +
  pinMode(SRCLK_Pin, OUTPUT);
 +
}             
  
* [[Five Minutes of Fame 2009-04-16 | 2009-04-16]]
+
void loop()
 +
{
 +
  int minutes, seconds;
 +
 
 +
  if (!timeUp)
 +
  { 
 +
    if(--counter < 0)
 +
    {
 +
      counter = 1;
 +
      timeUp = true;
 +
    }
 +
  } else {
 +
 
 +
    if (++counter > 599)
 +
    {
 +
      n0153();
 +
    }
 +
  }
 +
 
 +
  minutes = floor(counter / 60);
 +
 +
  seconds = counter - (minutes * 60);
  
* [[Five Minutes of Fame 2009-05-21 | 2009-05-21]]
+
  setDigits(minutes * 100 + seconds);
  
* [[Five Minutes of Fame 2009-06-18 | 2009-06-18]]
+
  delay(1000);
 +
}
  
* [[Five Minutes of Fame 2009-07-16 | 2009-07-16]]
+
void setDigits(int num)
 +
{
 +
  int digit0, digit1, digit2;
 +
 
 +
  clearRegisters();
 +
  writeRegisters();
 +
 
 +
  digit0 = num;
 +
  while(digit0 >= 10)
 +
    digit0 -= 10;
 +
 
 +
  digit1 = (num - digit0) / 10;
 +
  while(digit1 >= 10)
 +
    digit1 -= 10;
 +
   
 +
  digit2 = (num - digit0 - digit1 * 10) / 100;
 +
 +
  setDigit(0, digit0);
 +
  setDigit(1, digit1);
 +
  setDigit(2, digit2);
 +
 
 +
  writeRegisters();
 +
}
  
* [[Five Minutes of Fame 2009-08-20 | 2009-08-20]]
+
// Update individual digit with number
 +
void setDigit(int digit, int num)
 +
{
 +
  // Determine register offset
 +
  int offset = digit * 8;
 +
 
 +
  // Determine num offset
 +
  int numOff = num * 7;
 +
 
 +
  // Set on segments HIGH
 +
  for (int i = 0; i < 7; i++)
 +
  {
 +
    if (segments[i + numOff] > 0)
 +
      registers[segments[i + numOff] + offset] = HIGH;
 +
  }
 +
}
  
* [[Five_Minutes_of_Fame_2009-09-17 | 2009-09-17]]
+
//set all register pins to LOW
 +
void clearRegisters()
 +
{
 +
  for(int i = 0; i < numOfRegisterPins; i++)
 +
    registers[i] = LOW;
 +
}
  
* [[Five_Minutes_of_Fame_2009_10_15 | 2009-10-15]]
 
  
* [[Five_Minutes_of_Fame_2009_11_19 | 2009-11-19]]
+
//Set and display registers
 +
//Only call AFTER all values are set how you would like (slow otherwise)
 +
void writeRegisters()
 +
{
 +
  digitalWrite(RCLK_Pin, LOW);
 +
 
 +
  for(int i = 0; i < numOfRegisterPins; i++)
 +
  {
 +
    digitalWrite(SRCLK_Pin, LOW);
 +
   
 +
    digitalWrite(SER_Pin, registers[i]);
 +
   
 +
    digitalWrite(SRCLK_Pin, HIGH);
 +
  }
 +
 +
  digitalWrite(RCLK_Pin, HIGH);
 +
}
  
* [[Five_Minutes_of_Fame_2009_12_17 | 2009-12-17]]
+
void n0153()
 +
{
 +
  while(true)
 +
  {
 +
    for (int i = 0; i < numOfRegisterPins; i++)
 +
      registers[i] = random(2) > 0.5 ? HIGH : LOW;
 +
    writeRegisters();
 +
    delay(round(random(314)));
 +
  }
 +
}
 +
</pre>

Latest revision as of 15:45, 10 March 2019


5MoF
8:00pm Third Thursdays of every month!

3rd Floor 2169 Mission Street, ring the bell to enter the space!

January 17 2019

Next: January 17 5MoF

Prev: February 21 5MoF

5 MoF Template

2019

January 17th -- 5MoF 2019

February 21st --

March 21st --

April 18th --

May 16th --

June 20th --

July 18th --

August 15th --

September 19th --

October 17th --

November 21st --

December 19th --

What is Five Minutes of Fame?

Five Minutes of Fame (5MoF) is ten five minute talks in an hour, with a short intermission so you can get another beer. Talks tend to be ad-hoc, poorly-planned, and awe-inspiring.

How do I sign up to give a talk?

Sign up to speak by following the link above, clicking "edit", and adding yourself to the list.

When and Where?

5MoF happens at Noisebridge, 2169 Mission St, San Francisco every 3rd Thursday of the month at 8pm.

Questions, comments, and more info

Interested in Past 5mofs? Or the meetup page?

Past 5MoFs

2018


2017

2016

2015

2014

2013

2012

2011

2010

2009

CODE

/*
   _  _   _____ __  __  ____  ______
 _| || |_| ____|  \/  |/ __ \|  ____| Noisebridge 8PM third Thursdays
|_  __  _| |__ | \  / | |  | | |__    Years & years of Childlike Wonder &
 _| || |_|___ \| |\/| | |  | |  __|   Adult Technological Themes in
|_  __  _|___) | |  | | |__| | |      San Francisco's XXXth Finest
  |_||_| |____/|_|  |_|\____/|_|      Hacker Show and Tell.


 _    _            _      _   _            _____  _                  _   _ 
| |  | |          | |    | | | |          |  __ \| |                | | | |
| |__| | __ _  ___| | __ | |_| |__   ___  | |__) | | __ _ _ __   ___| |_| |
|  __  |/ _` |/ __| |/ / | __| '_ \ / _ \ |  ___/| |/ _` | '_ \ / _ \ __| |
| |  | | (_| | (__|   <  | |_| | | |  __/ | |    | | (_| | | | |  __/ |_|_|
|_|  |_|\__,_|\___|_|\_\  \__|_| |_|\___| |_|    |_|\__,_|_| |_|\___|\__(_)
                                                                           

Third Thurs, 8PM, Noisebridge, 2169 Mission St, SF, CA, Earth Prime

More info: http://nburl.net/5mof
Get here: http://nburl.net/gethere

Submit your talk now! http://5mof.net/signup/

                                                            1/13/14
                                                              -thex
                                                              #fort
                                                              
        Hardware h4x0r extradonaire, the hilaire.

     Send b33r or b!tcoin to noisebridge, c/o #fort

*/

// Number of segments (Shift Register * 8)
#define numOfRegisterPins 24

int SER_Pin = 8;   //pin 14 on the 75HC595
int RCLK_Pin = 9;  //pin 12 on the 75HC595
int SRCLK_Pin = 10; //pin 11 on the 75HC595

// Number of seconds to count from (5 minutes)
int counter = 301;

boolean registers[numOfRegisterPins];

// Time has expired, count up
boolean timeUp = false;

int segments[] = {1, 2, 4, 5, 6, 7, 0, // 0
                  2, 4, 0, 0, 0, 0 ,0, // 1
                  1, 2, 3, 6, 7, 0, 0, // 2
                  1, 2, 3, 4 ,7, 0, 0, // 3
                  2, 3, 4, 5, 0, 0, 0, // 4
                  1, 3, 4, 5, 7, 0, 0, // 5
                  3, 4, 5, 6, 7, 0, 0, // 6
                  1, 2, 4, 0, 0, 0, 0, // 7
                  1, 2, 3, 4, 5, 6, 7, // 8 
                  1, 2, 3, 4, 5, 7, 0  // 9
                                       // A
                                       // B
                                       // C
                                       // D
                                       // E
                                     };// F

void setup()
{
  pinMode(SER_Pin, OUTPUT);
  pinMode(RCLK_Pin, OUTPUT);
  pinMode(SRCLK_Pin, OUTPUT);
}               

void loop()
{
  int minutes, seconds;
  
  if (!timeUp)
  {  
    if(--counter < 0)
    {
      counter = 1;
      timeUp = true;
    }
  } else {
   
    if (++counter > 599)
    {
       n0153();
    }
  }
   
  minutes = floor(counter / 60);
 
  seconds = counter - (minutes * 60);

  setDigits(minutes * 100 + seconds);

  delay(1000);
}

void setDigits(int num)
{
  int digit0, digit1, digit2;
  
  clearRegisters();
  writeRegisters();
  
  digit0 = num;
  while(digit0 >= 10)
    digit0 -= 10;
  
  digit1 = (num - digit0) / 10;
  while(digit1 >= 10)
    digit1 -= 10;
    
  digit2 = (num - digit0 - digit1 * 10) / 100;
 
  setDigit(0, digit0);
  setDigit(1, digit1);
  setDigit(2, digit2);
  
  writeRegisters();
}

// Update individual digit with number
void setDigit(int digit, int num)
{
  // Determine register offset
  int offset = digit * 8;
  
  // Determine num offset
  int numOff = num * 7;
  
  // Set on segments HIGH
  for (int i = 0; i < 7; i++)
  {
    if (segments[i + numOff] > 0)
      registers[segments[i + numOff] + offset] = HIGH;
  }
}

//set all register pins to LOW
void clearRegisters()
{
  for(int i = 0; i < numOfRegisterPins; i++)
    registers[i] = LOW;
} 


//Set and display registers
//Only call AFTER all values are set how you would like (slow otherwise)
void writeRegisters()
{
  digitalWrite(RCLK_Pin, LOW);
  
  for(int i = 0; i < numOfRegisterPins; i++)
  {
    digitalWrite(SRCLK_Pin, LOW);
    
    digitalWrite(SER_Pin, registers[i]);
    
    digitalWrite(SRCLK_Pin, HIGH);
  }
 
  digitalWrite(RCLK_Pin, HIGH);
}

void n0153()
{
  while(true)
  {
    for (int i = 0; i < numOfRegisterPins; i++)
      registers[i] = random(2) > 0.5 ? HIGH : LOW;
    writeRegisters();
    delay(round(random(314)));
  }
}