[FONT=Courier New, monospace][SIZE=2][COLOR=#7f0055][B]#include[/B][/COLOR][COLOR=#2a00ff]"driver_config.h"[/COLOR][/SIZE][/FONT]
[FONT=Courier New, monospace][SIZE=2][COLOR=#7f0055][B]#include[/B][/COLOR][COLOR=#2a00ff]"target_config.h"[/COLOR][/SIZE][/FONT]
[FONT=Courier New, monospace][SIZE=2][COLOR=#7f0055][B]#include[/B][/COLOR][COLOR=#2a00ff]"timer32.h"[/COLOR][/SIZE][/FONT]
[FONT=Courier New, monospace][SIZE=2][COLOR=#7f0055][B]#include[/B][/COLOR][COLOR=#2a00ff]"gpio.h"[/COLOR][/SIZE][/FONT]
[FONT=Courier New, monospace][SIZE=2][COLOR=#7f0055][B]int [/B][/COLOR][COLOR=#000000][B]main[/B][/COLOR][COLOR=#000000] ([/COLOR][COLOR=#7f0055][B]void[/B][/COLOR][COLOR=#000000])[/COLOR][/SIZE][/FONT]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]{[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]init_timer32(1, TIME_INTERVAL);[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]enable_timer32(1);[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]GPIOInit();[/SIZE][/FONT][/COLOR]
[FONT=Courier New, monospace][SIZE=2][COLOR=#7f0055][B]while[/B][/COLOR][COLOR=#000000](1)[/COLOR][/SIZE][/FONT]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]{[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2] dostuffhere[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]}[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]}[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]Timerinterrupt()[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]{[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2] Code for PWMing LED's with Bit Angle Modulation[/SIZE][/FONT][/COLOR]
[COLOR=#000000][FONT=Courier New, monospace][SIZE=2]}[/SIZE][/FONT][/COLOR]
|