![OPEN-SMART Rich UNO R3 Скачать руководство пользователя страница 94](http://html1.mh-extra.com/html/open-smart/rich-uno-r3/rich-uno-r3_user-manual_1639721094.webp)
OPEN-SMART Email:
- 94 -
#define STATUS_FORWARD 3
#define STATUS_REWIND 4
NOTE: If it is playing, it will return 1, you should wait until it return 0, then you can play next
voice.
* clock.begin(); // The clock is on and the function must be called first
* clock.getTime(void); / / read the date and time, will be saved in the clock class variable
After you call get time function, you can get the hour and minute from clock.hour and clock.minute
* Timer1.initialize(unsigned long microseconds); // set the timed length, the unit is microseconds
* Timer1.attachInterrupt(TimingISR); // set interrupt routine function name, is the timing interrupt
entry, when the time is up, it will call TimingISR function you write.
* disp.init(); // initialization. You should write it in the setup function initialize it.
* disp.display(int8_t DispData []); // display the numbers in the array
// For example, the array is {1,2,3,4}, then show 1234
* disp.point(0); // Turn off the display colon and the next display takes effect
* disp.point(1); // Turn on the display colon and the next display takes effect