Other Parts Discussed in Thread: CC2540
Hello all, just installed all of the software for programming the CC2540 but I can't seem to find the example code to control the two ports that have a 20mA current drive capability. Port 1.0 – 20-mA drive capability Port 1.1 – 20-mA drive capability .. My ultimate goal would be to get together some lines of code that would control the output of these current drivers to lets say output 8mA to an LED for a duration of time or 15mA for another command sent to the chip.
Can anyone point me in the right direction or show me how to do this?