[size=5][color=blue]I hope that in 2017, everyone will achieve their goals, be happy and healthy in work, life and study. [/color][/size] [size=5][color=blue] [/color][/size] [size=5][color=blue]Of co
[size=4]Interrupt handling function[/size] [size=4] [/size] [size=4]Process LED program in the interrupt handling function[/size] [size=4] [/size] [size=4]Compiler instructions[/size] [size=4]#pragma
[code] PBDATDIR .set 0709Ah main() { unsigned int i; unsigned long k; led=0x0080; while(1) { for (i=0;i>1; if(led==0x0008) { led=0x0080; } } } } [/code] A program in the book that lights up IOPB4~IOPB
Help: PB0/PWM2 and PB1/PWM3 pins generate a pair of PWM square waves with dead zone delayHere is the code:#include "hw_memmap.h"#include "hw_types.h"#include "sysctl.h"#include "gpio.h"#include "pwm.h