Hi,
I am using sdk 14.2.0.
nrf_gpio_pin_set(OUTPUT_PIN); this function sets the gpio pin to vdd.
nrf_gpio_pin_clear(OUTPUT_PIN); this function set the gpio pin to ground.
my question is, how to set gpio pin to different voltage level, lets say 5v.
why i am asking this :
i am using vibration motor. so when i have to stop it, ineed to set pwm pin equal to voltage level.
so in case, i am using VDD, its fine.But, when i am using 5V, its not working because still there is a diffrence (5V - VDD). between VCC and pwm pin.
please guide me ,if we can do it using sdk.
thanks,
Amarjeet