NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
|
Simple PWM demo program. More...
#include <neorv32.h>
Macros | |
User configuration | |
#define | BAUD_RATE 19200 |
#define | MAX_DUTY 200 |
Functions | |
int | main () |
Simple PWM demo program.
#define BAUD_RATE 19200 |
UART BAUD rate
#define MAX_DUTY 200 |
Maximum PWM output intensity (8-bit duty cycle)
int main | ( | void | ) |
This program generates a simple dimming sequence for PWM channels 0 to 3.