Word Clock - Customisable And Easy To Build

Seen an interesting project that was uploaded to Electromaker? Discuss it here.
Posts: 12
Joined: Thu Feb 01, 2018 5:55 pm

Word Clock - Customisable And Easy To Build

Post »


Posts: 6
Joined: Tue Feb 20, 2018 5:00 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Hey Friend,

I had made some minor corrections with your code which would work efficiently and with fewer lines when compared to your version. I tried uploading the entire code in this comment, but couldn't upload.

Check this https://github.com/Rahul24-06/Word-Clock

If you have any errors do let me know. Cheers!!!

Posts: 10
Joined: Wed Jan 24, 2018 3:45 pm

Re: Word Clock - Customisable And Easy To Build

Post »

I have a few modifications that I would like to submit. Could you make a Github repo? It would make it easier to maintain & coordinate.

Posts: 10
Joined: Wed Jan 24, 2018 3:45 pm

Re: Word Clock - Customisable And Easy To Build

Post »

I added a Cleaner & Compact method to toggle the LEDs in the matrix.

https://github.com/jonathanrjpereira/Word-Clock

Posts: 12
Joined: Thu Feb 01, 2018 5:55 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Here is the project on GitHub for anyone who prefers to fork it: https://github.com/DIY-Machines/Word-Clock

Posts: 12
Joined: Thu Feb 01, 2018 5:55 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Hello, thanks for submitting your refactored code. :)
I've tested it and it looks like you have a repeated error that needs some attention:

Arduino: 1.8.4 (Mac OS X), Board: "Arduino Nano, ATmega328P"

/Word-Clock-master/E_Clock/E_Clock.ino: In function 'void loop()':
E_Clock:171: error: expected ')' before '{' token
{
^
E_Clock:234: error: 'i' was not declared in this scope
for(int i = 0; i

Posts: 12
Joined: Thu Feb 01, 2018 5:55 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Hi, I've successfully ran your code on my clock. Good work.
I wonder if you wanted to try adding any new features? For example the word 'minutes' currently does not light up when it could be used. (This is LEDs 2,3 2,4 and 2,5). You could add this into your code in the correct places?

Posts: 10
Joined: Wed Jan 24, 2018 3:45 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Hi,
I just submitted a Pull Request. You should consider adding the schematics & CAD files to the repository.

Posts: 10
Joined: Wed Jan 24, 2018 3:45 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Possible use case scenarios: "It is Half a Minute Past/To", "It is Five Minutes Past/To...", "It is Ten Minutes Past/To...", "It is Twenty Minutes Past/To...", "It is Twenty Five Minutes Past/To...".

Posts: 6
Joined: Tue Feb 20, 2018 5:00 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Hi, I had corrected the code for the following errors.
I will try to bring out something good with this project. Cheers!