Page 1 of 4

Word Clock - Customisable And Easy To Build

Posted: Sun Aug 05, 2018 8:07 pm
by DIY-Machines

Re: Word Clock - Customisable And Easy To Build

Posted: Wed Aug 08, 2018 6:24 pm
by the lonely programmer
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!!!

Re: Word Clock - Customisable And Easy To Build

Posted: Fri Aug 10, 2018 8:51 am
by jonathanrjpereira
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.

Re: Word Clock - Customisable And Easy To Build

Posted: Fri Aug 10, 2018 3:02 pm
by jonathanrjpereira
I added a Cleaner & Compact method to toggle the LEDs in the matrix.

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

Re: Word Clock - Customisable And Easy To Build

Posted: Sun Aug 12, 2018 11:28 am
by DIY-Machines
Here is the project on GitHub for anyone who prefers to fork it: https://github.com/DIY-Machines/Word-Clock

Re: Word Clock - Customisable And Easy To Build

Posted: Wed Aug 15, 2018 5:59 am
by DIY-Machines
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

Re: Word Clock - Customisable And Easy To Build

Posted: Wed Aug 15, 2018 6:07 am
by DIY-Machines
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?

Re: Word Clock - Customisable And Easy To Build

Posted: Wed Aug 15, 2018 6:53 am
by jonathanrjpereira
Hi,
I just submitted a Pull Request. You should consider adding the schematics & CAD files to the repository.

Re: Word Clock - Customisable And Easy To Build

Posted: Wed Aug 15, 2018 7:51 am
by jonathanrjpereira
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...".

Re: Word Clock - Customisable And Easy To Build

Posted: Wed Aug 15, 2018 12:51 pm
by the lonely programmer
Hi, I had corrected the code for the following errors.
I will try to bring out something good with this project. Cheers!