Error: 'yield' was not declared, also 'void TimeClass:

I see from the video that you're using an "Aceduino". I see from their website that there is an "Aceduino IDE". Are you using that IDE?