import external class (*.java vs *.pde)
in
Programming Questions
•
2 years ago
I used
this example in my code to set up timer.
It works when i keep class code inside main code, but when i try to move it in separate *.java file, it complains that it can not find millis() function.
If i rename it to *.pde it works ok.
Why is that?
It works when i keep class code inside main code, but when i try to move it in separate *.java file, it complains that it can not find millis() function.
If i rename it to *.pde it works ok.
Why is that?
1