Search the Community
Showing results for tags 'interupt'.
Hi all, I am trying to control the PWM through UART usb serial at high speed, but the micro seems to pick up the input inconsistently(I am trying to create a 100 micro sec pulse using the PWM, but the micro sometimes does not pick up the input). So i am guessing the best way to do it is via interrupt(when the RX picks up any kind of input ), but I have no idea how to implement one. Can someone provide an example code for such application please? Thanks in advance. My Code: #include <stdbool.h> #include <stdint.h> #include "inc/hw_memmap.h" #include "driverlib/adc.h" #in