diff --git a/src/main.c b/src/main.c index dbe8910..5d9f877 100755 --- a/src/main.c +++ b/src/main.c @@ -5,6 +5,12 @@ int main(void) LTP1245_Init(); // LTP1245_FeedPaper(10); + RCC->APB2ENR |= RCC_APB2ENR_IOPCEN; + + GPIOC->CRH = (GPIOC->CRH + & ~(0x0f << (4 * PIN_LED - 32))) + | (0x01 << (4 * PIN_LED - 32)) // Output, max. 10 MHz + ; char buff[30]; itoa(BUILD_NUMBER, buff, 10);