mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-08 04:43:59 +02:00
implement first prototype of the protocol
This commit is contained in:
parent
f30c462567
commit
4fb8173118
2 changed files with 39 additions and 7 deletions
|
@ -106,7 +106,7 @@ void PWMRun(void) {
|
|||
|
||||
LPC_TMR32B0->PWMC = 1<<0 | 1<<3; // enable pwn
|
||||
|
||||
LPC_TMR32B0->MCR |= 1<<9| 1<<0; NVIC_EnableIRQ(TIMER_32_0_IRQn);
|
||||
// LPC_TMR32B0->MCR |= 1<<9| 1<<0; NVIC_EnableIRQ(TIMER_32_0_IRQn);
|
||||
|
||||
LPC_TMR32B0->TCR = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue