Tiny Yolo2 icon Tiny Yolo2 Real-time TinyYolo object detection for ARC Camera Device: tracks 20 classes, populates camera variables, triggers tracking scripts, 30+ FPS in HD. Try it →

ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

#1  

Absolutely.... Have you read down the script commands... You should check out all the available commands so you will be able to do this kind of easy stuff yourself... Below are reserved script variables that will get you what you want...

$date $month $year $day $dayName $hour $minute $second $monthName $time

#2  

Here is the script that I use to tell the time. It is not my code, I believe it is from Rich but not sure.


# ------|
# Time |
# ------|

:Initialise
$hour_word=$hour
SayWait("According to my data calculations the time is ")

IF ($hour>12)
$hour_word=$hour-12
Elseif ($hour=0)
$hour_word=0
#$hour_word=12
ENDIF 

$hour_word=$hour_word + ":"

IF ($Minute=0)
SayWait($hour)
goto (AM_PM)
ELSEIF ($minute<30)
Say($minute + "minutes past " + $hour_word)
ELSE 
SayWait($hour_word + $minute)
goto(AM_PM)
ENDIF 

:AM_PM
IF ($hour<12)
SayWait("a.m.")
ELSE 
SayWait("p.m.")
ENDIF 

halt()
Author Avatar
PRO
USA
#3  

awesome, thanks for everyones help.