Welcome to Synthiam!

Program robots using technologies created from industry experts. EZ-Builder is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.
Get Started

Japan
Asked — Edited

Real-Time Module

User-inserted image

Can someone show me how to program this DS 1302 real-time module in Ez_builder with EZ-B v4, I can't get used to it yet?
I intend to do it to remind patients to take medicine!
Sincerely thank!


Related Hardware EZ-Robot EZ-B v4
Related Controls Script Manager Script
#3  
Sorry, I can't test your script. There are a few commands in your scrip I don't understand. It may be correct but I've never written one that keeps track of time and sends an alarm. I'm sure it can be done though. 

Have you tried to run it inside the AZ Script console? If so where does it stop?

Hopefully someone better than me at writing script can help.
#4   — Edited
Actually I was able to copy your script and test it. There are some errors.

First you need to take the space out of the endif in the first IF statement. When I do that I get another error saying that the Line one is missing string quotes or is invalid. 

I did not try to fix it past there but I I can see right off that your variable statement needs to have the space take out of the "$ hour" .  Also I think you do need more String quotes on line one.
#5  
Make sure your Verbose Debug is checked inside the script console so it will stop on an error and tell you the problem.
#6  
Following this. This was something I was thinking of doing for my aging mother with Parkinson's.
#7  
Dave Schulpius I apologize if this question is a redundant question or it annoys you but I cannot know to exactly your program  and if you use an EZ-Script it will need quite a long text Also, if you want to change the reporting time, you will need to modify the code .And  thank  for your instructions.

Fxrtst You can add voice recognition to support food feeding as well as hold things for your mother
#8  
Jonny, No need to apologize and I'm not at all annoyed. I truly hope I didn't come across like that.  

I'm pretty sure what you are trying to do here. You want a speaker to announce "This is your Reminder" at a certain time.  There is no reason why EZ builder cant do this running alone on a laptop or through an EZB's speaker mounted in it's power shell. 

I think your script has errors that is not letting it run properly. Find and fix the errors and your plan will work. 

Good luck.