|
|||||||
![]() |
Forum Index > Projects > Clock Kits | ||
Seconds hand display and code refactoring |
|||
| | | Printable Version |
|
Anonymous: Robert | ||||||||
Quote by: RobertFirst calculate: ((year − 2000) * 12) + (month) + 45 Now we have a sort of serial month number, in a system which counts March 1996 as month 0.
PHP Formatted Code ((year - 2000) * 12) + (month) + 45 |
|
||||||||
|
|||||||||
|
brand | ||||||||
Quote by: RobertHudson:
|
![]() Apprentice Status: offline
Registered: 02/27/12 |
||||||||
|
|||||||||
|
Anonymous: Robert | ||||||||
Quote by: brand Quote by: RobertHudson:
|
|
||||||||
|
|||||||||
|
brand | ||||||||
Quote by: Robert
|
![]() Apprentice Status: offline
Registered: 02/27/12 |
||||||||
|
|||||||||
|
Anonymous: Robert | ||||||||
Quote by: brand Quote by: Robert
PHP Formatted Code x = (x >> 24) + (x & 0xFFFFFF); x = (x >> 12) + (x & 0xFFF); x = (x >> 6) + (x & 0x3F); x = (x >> 3) + (x & 7); while (x >= 7) x -= 7; |
|
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 12:09 PM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits