赞
踩
参考:https://learncplusplus.org/how-to-program-arduino-with-c/
#include <Arduino.h> #include <WiFi.h> /** * * https://learncplusplus.org/how-to-program-arduino-with-c/ * */ void setup() { Serial.begin(115200); pinMode( LED_BUILTIN, OUTPUT ); printf("setup\n"); } uint16_t a = 0; void loop() { a++; digitalWrite(LED_BUILTIN, HIGH ); delay(1000); digitalWrite( LED_BUILTIN, LOW ); delay(1000); printf("loop %d\n",a) ; }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。