# HddLedDimming **Repository Path**: aghost/HddLedDimming ## Basic Information - **Project Name**: HddLedDimming - **Description**: No description available - **Primary Language**: C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hddLedDimming LED dimming with PWM LED高位调光 ------- ## Software Base code was generated by STM32cubeMX. You can find out all the function of MCU pin by open hddLedDimming.ioc with STM32cubeMX. All codes which I had writen was in the file Src/main.c The interface USART1 was set to output debug message every second. e.g. ```text avg adc val:545, pwm cmp:70/239, duty cycle:29% \n ``` ---------- ## Hardware PWM generated by STM32F030F4P6 timer, the duty cycle decide by AD value. All hardware design will be put in pcb folder.