温湿度上传

This commit is contained in:
2024-07-29 11:17:10 +08:00
parent b5093f2a50
commit de3a8210c7
11 changed files with 1182 additions and 91 deletions

View File

View File

@@ -1,7 +1,24 @@
#include <rtthread.h>
#include<board.h>
#ifndef RT_USING_NANO
#include <rtdevice.h>
#endif // !RT_USING_NANO
#define GPIO_LED_B GET_PIN(F,11)
#define GPIO_LED_B GET_PIN(F,11)
int main(void)
{
return 0;
return 0;
}
// #define WIFI_CS GET_PIN(F,10)
// void WIFICS_PULL_DOWN(void)
// {
// rt_pin_mode(WIFI_CS, PIN_MODE_OUTPUT);
// rt_pin_write(WIFI_CS, PIN_LOW);
// }
// INIT_BOARD_EXPORT(WIFI_CS_PULL_DOWN);