Compare commits

..

No commits in common. "e887d69e5dd54fcb1cc28e337ed3a4279cd27dd5" and "24f01edf74a176351f13124bee0f8b65af51174d" have entirely different histories.

3 changed files with 4 additions and 5 deletions

View file

@ -43,7 +43,7 @@ install_needed_dependencies () {
# Check the OS
echo "checking the OS..."
# If it's debian based then apt install
${ICMD}
# If it's freeBSD then pkg
# If it's windows....you're SOL

View file

@ -7,11 +7,10 @@ add_executable(${PROJECT_NAME}
target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/inc/
)
target_link_libraries(${PROJECT_NAME} PRIVATE
#blink
blink
gcc
)

View file

@ -1,5 +1,5 @@
#include "ch32fun.h"
// #include <blink.h>
#include <blink.h>
#include <stdio.h>
#define ADC_BUFFER_SIZE 32
@ -37,7 +37,7 @@ int main(void)
// set delay fp.
// delay_ms = Delay_Ms;
// blink_led(5);
blink_led(5);
uint16_t old_value = UINT16_MAX;