arduino_main.cpp 449 B

123456789101112131415161718192021222324
  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-04-04 Wangyuqiang first version
  9. */
  10. #include <Arduino.h>
  11. void setup(void)
  12. {
  13. /* put your setup code here, to run once: */
  14. Serial.begin();
  15. Serial.println("Hello RTduino!");
  16. }
  17. void loop(void)
  18. {
  19. /* put your main code here, to run repeatedly: */
  20. delay(1000);
  21. }