Send data from Processing to Arduino

Im trying to make Arduino read the hour of the computer so i can make a clock. (Leds lighten up depending on the hour it is and every led is attached to a letter, so if it is 00:00, leds would lighten up to “say” It is twelve oclock) And i cant find a easier way than reading the computers hour on Processing and then send it to Arduino by the serial port. But i can opnly find examples of sending data from arduino to processing, and not the other way round. Can you help me? Answers in spanish are even better, but we speak english too :smiley: :smiley:

But i can opnly find examples of sending data from arduino to processing, and not the other way round.

The Time library includes an example of using the PC (and Processing) to send time data to the Arduino.