⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
Anonymous (not verified)
Breath timer

Can we output the breath timer's output to a GPIO pin? If so how?

using DA14681.

Device:
MT_dialog
Offline
Last seen:3 months 8 hours ago
Staff
加入:2015-06-08 11:34
Hi mutahir,

Hi mutahir,

是的,你这个n, as the datasheet indicates the resulting PWM signal can be mapped on any of the GPIO's of the system, all you have to do is set the breath timer and setup a pins with the HW_GPIO_FUNC_BREATH functionallity and as OUTPUT. You will be able to find example in the peripherals_demo, in the demo_breath.c file.

Thanks MT_dialog