arduino_main.cpp 451 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2006-2024, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2024-08-16 LZerro 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. }
  16. void loop(void)
  17. {
  18. /* put your main code here, to run repeatedly: */
  19. Serial.println("Hello Arduino!");
  20. delay(800);
  21. }