Scriding Posted January 9, 2021 Share Posted January 9, 2021 This is a clock that displays the time IRL. It uses a program I made to grab the time and spit it out in a 7 segment display. I have it showing 12 hour format EST but you can change the program slightly to get any timezone and/or 24 hour format. I am using pistons but you can hook it up to lights such as Project-Red Lamps if you don't want the piston noise. Use Rednet cables and copy the layout with the same colors on each side. You can scale it up by adding more blocks for each color/segment. Do the same for both sides with the same layout and colors. Connect them to an Advanced Computer on the right and left sides (with the computer facing the front of the display). Open up the Computer and type: pastebin get 4nRg9CHU json (this downloads the API used in the program) Next, type: pastebin get 2DNvbwUA startup You should now have a working clock in 12 hour EST format. In order to change the time zone, go to http://worldtimeapi.org/timezone/ and click on your timezone. Click on the JSON link (as circled in red) and copy the URL. Edit the startup program and paste the URL in the http.request(" ") Save the program and restart. You should now have changed the timezone. In order to get the time in 24 hour format, comment out or delete the 3 lines at the top of the picture. To get the blinking colon in the middle I used a simple timer with a Programmable Rednet Controller. Use rednet cables on the white channel connected to the top of it. Copy the settings in the picture. Feel free to message me in game or on discord if you have any problems. Here are links to everything: https://imgur.com/a/POPo5ze https://pastebin.com/4nRg9CHU https://pastebin.com/2DNvbwUA http://worldtimeapi.org/timezone/ Ness27 and unknown1234 2 Quote Link to comment Share on other sites More sharing options...
iim_wolf Posted January 9, 2021 Share Posted January 9, 2021 Such a nice project, well done Scriding Scriding 1 Quote Link to comment Share on other sites More sharing options...
JocabedToro Posted July 17, 2022 Share Posted July 17, 2022 Thanks for sharing! Happy to read it! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.