In the original thread (I'm looking for help with my project) you said that you were already successfully driving the LED. I presumed that the LED is connected to the pin you are trying to drive here. In that flow you must have sent messages to the gpio node to switch it on and off. You need to generate similar messages from the timer node to drive the pin. I expect it is just a matter of putting 1 or 0 in msg.payload.