This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
byte byteRead; | |
void setup() | |
{ | |
Serial.begin(9600); | |
} | |
void loop() | |
{ | |
if (Serial.available()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* what you need to look for here is the "24" 8' DashedLine(24) | |
* and combine this with the "int len" in DashedLine(int len) | |
* those correspond. the 24 is the integer value (called for | |
* with int len) assigned to the function and thus giving | |
* "len" in the function the value of 24 | |
*/ | |
void setup() { | |
Serial.begin(9600); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* an infinity for loop | |
for ( ; ; ) | |
/* and I also believe below should work. Even so, I think below is what I should use for I can reuse 'i' (e.g. Serial.println(i) in debug) | |
for (int i = 0; 0 >= 0; i++) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HelloWorld { | |
private static final double PI = 3.14; | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub | |
System.out.println("Hello World!"); | |
System.out.println(PI); | |
for (int PI = 0; PI < 5; PI++) |