Compare commits
3 commits
24f01edf74
...
e887d69e5d
| Author | SHA1 | Date | |
|---|---|---|---|
| e887d69e5d | |||
| 25283c1d84 | |||
| c0d5ba1d90 |
3 changed files with 5 additions and 4 deletions
2
setup.sh
2
setup.sh
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ 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
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue