fork download
  1. #include "Particle.h"
  2. #include "Thread_Test.h"
  3.  
  4. SYSTEM_THREAD(ENABLED);
  5. SYSTEM_MODE(MANUAL);
  6.  
  7. // setup() runs once, when the device is first turned on.
  8. void setup() {
  9. // Put initialization like pinMode and begin functions here.
  10. pinMode(D7, OUTPUT);
  11. digitalWrite(D7, 1);
  12. }
  13.  
  14. // loop() runs over and over again, as quickly as it can execute.
  15. void loop() {
  16. // The core of your code will likely live here.
  17. digitalWrite(D7, 1);
  18. //PostMsg();
  19. delay(1000);
  20.  
  21. digitalWrite(D7, 0);
  22. //PostMsg();
  23. delay(1000);
  24. }
  25.  
  26.  
  27.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:22: fatal error: Particle.h: No such file or directory
 #include "Particle.h"
                      ^
compilation terminated.
stdout
Standard output is empty