Other Parts Discussed in Thread: CC2530
Hi,
as the topic say, I would ask whether based on sample code ZStack-CC2530-2.4.0-1.4.0 for SmartRF05, am I able to light up a LED diodes connected to the RS232?
As my professor said, on the RS232 should be 12V, so it is possible to connect LEDs there?
He explained that if I will send '1' to RS232, then there will appear the voltage and will light up the connected LEDs.
I assume that he meant 3rd pin (TxD - Transmit Data) for one "leg" of LED and for second leg inserted to the GND - Signal Ground.
Is it really possible?
What parameters should I send to the "HalUARTWrite()" function to light LEDs connected in parallel?
In parallel, because if the RS232 voltage is 12V and the diodes are voltage 1.5 V it takes them eight in a row.
Greetings
Frankly I do not know if this is correct, but the professor said that this is possible, and say that this is my "homework" to do. I would ask You for help. Thank you.