mirror of
https://github.com/avem-labs/Avem.git
synced 2023-09-01 15:18:49 +08:00
feat: led test
This commit is contained in:
parent
c071af1322
commit
95bef92414
@ -196,9 +196,9 @@ int main() {
|
|||||||
GPIOB->CRH |= 0x00000300;
|
GPIOB->CRH |= 0x00000300;
|
||||||
while(1) {
|
while(1) {
|
||||||
GPIOB->ODR &= 0b11111111111111111111101111111111;
|
GPIOB->ODR &= 0b11111111111111111111101111111111;
|
||||||
delay(1000);
|
delay(50);
|
||||||
GPIOB->ODR |= 0b00000000000000000000010000000000;
|
GPIOB->ODR |= 0b00000000000000000000010000000000;
|
||||||
delay(1000);
|
delay(850);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_BLDC
|
#ifdef DEBUG_BLDC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user