arduino_main.cpp 494 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023-02-22 ChuShicheng first version
  9. * 2023-02-23 Wangyuqiang second version
  10. */
  11. #include <Arduino.h>
  12. void setup(void)
  13. {
  14. /* put your setup code here, to run once: */
  15. Serial.begin();
  16. Serial.println("Hello RTduino!");
  17. }
  18. void loop(void)
  19. {
  20. /* put your main code here, to run repeatedly: */
  21. delay(1000);
  22. }