Hi,
I checked your answer but can you explain neat step by step or flow to to implement PWM using our SDK kit,like we have tutorial for custom characterstics tutorial.or else help with neat steps
1.我想控制亮度LED (PWM)(续rolling the Output voltage at ports) through the writable charcteristics.
fro example if i write 1-10 based on scale the brightness should change like that code i have to implement through BLE.can you please explain the step by step or flow to do that?
Device:
Hi MADHUSF,
Could you please let me know what have already developed at this stage? Have you created two writable characteristics? If yes, are you able to send something on the characteristic and send it to the application? Which numbers would you like to send to the application? The implementation of the characteristics is up to you and they should be according to your requirements. For example, have you decided what you have to sent to the application to control the PWM ?
Thanks, PM_Dialog
Yes,Im able to create writable charactersitics and through Application i m able to send the values.
I want to send the number in scale of 1 to 5,according to value the brightness(voltage) of LED at I/O port(PO_5) should changed.
these is my requirements,can you help me where to change code to achieve it?
Hi,
One more thing i have seen Buzzer playing different frequencies(notes),like that i want to control brightness of LED or Speed of DC motor connected to I/O port.
Is it possible to change the code of timer0(buzzer playing) to control the Brightness of LED??
Help me in modifying the code
Hi MADHUSF,
Would you like to modify the PWM pulse? You can also check a previous post below:
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/timer0-pwm0
Thanks, PM_Dialog