Hi,
Just realised a square wave by changing the blinky output to GPIO pin 10 instead of the perfboard LED
I need to generate a rectangular wave with an high time of 2 ms and low time of 998 ms.
I'm working on ubuntu linux environment for firmware development, kconfig-mconf configuration editor to Change nuttx configuration , Hardware used is the moto mods reference mod output observe in gpio pin 10 , nuttx.tftf file flashed using mdk-utility apk on moto z.
Any suggestions on how to implement this by editing the blinky code.
The Edited file has been attached.
Open source firmware code for this example is located at https://github.com/MotorolaMobilityLLC/nuttx - specifically: