随笔分类 -  Arduino

摘要:#include <OneWire.h> #include <DallasTemperature.h> // 引脚定义 #define ONE_WIRE_BUS 15 //库引用实例 OneWire oneWire(ONE_WIRE_BUS); DallasTemperature sensors(& 阅读全文
posted @ 2023-05-26 14:41 为鲸 编辑
摘要://读取并返回GPIO2的模拟电压,单位,毫伏 //analogReadMilliVolts(2) #define v_out_adc 2 #define i_in_adc 4 void setup() { // 初始化波特率 Serial.begin(115200); analogReadReso 阅读全文
posted @ 2023-05-26 14:39 为鲸 编辑
摘要:OLED Display SSD1306 Pin Wiring Because the OLED display uses I2C communication protocol, wiring is very simple. You can use the following table as a 阅读全文
posted @ 2023-05-24 10:18 为鲸 编辑
摘要:测试通过 #include <WiFi.h> const char *ssid = "@*****"; const char *password = "******"; //这里是第三方wifi的名称和密码,本机作为sta接入 const IPAddress serverIP(192,168,2,1 阅读全文
posted @ 2023-02-02 20:30 为鲸 编辑

点击右上角即可分享
微信分享提示