Time Library Error!

Hi guys, I’m currently trying to use Time Library.
For your information, I’m on a mac.
So, here is a catch 22.

I don’t know anything about Time library, I just wanted to get the real time
for my 4 digit 7 segment Display Project. So, I viewed some of examples to
get to know how this library works. Example is called 'TimeSerial.pde’

But when I uploaded it to the Arduino Uno, it gives me many errors.

it ends up giving me 'avrdude: error: programmer did not respond to command: exit bootloader’

Anybody how to solve this problem?

My main goal is to get ‘real time’ for my project

The problem is unrelated to the Time library or your code in general.

Please do this:

  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you’ll see a button on the right side of the orange bar “Copy error messages”. Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the toolbar).

So, I viewed some of examples to
get to know how this library works. Example is called 'TimeSerial.pde'

The extension for Arduino sketches has, for years, been .ino.

.pde is the extension for Processing sketches.

KINGSANGHAK:
So, here is a catch 22.

You're saying you're crazy and you know it so you're not crazy?