|
@ -10,8 +10,6 @@ void ephSerial() { |
|
|
} |
|
|
} |
|
|
println(""); |
|
|
println(""); |
|
|
sendMessage(A_TAG, colorByteValues); |
|
|
sendMessage(A_TAG, colorByteValues); |
|
|
//sendMessage(A_TAG, 5,55,0,33,0,55,0,55); |
|
|
|
|
|
//printArray(colorByteValues); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -23,6 +21,7 @@ void sendMessage(char tag, byte[] cbv){ |
|
|
for(int i=0; i<cbv.length; i++) { |
|
|
for(int i=0; i<cbv.length; i++) { |
|
|
port.write(cbv[i]); |
|
|
port.write(cbv[i]); |
|
|
} |
|
|
} |
|
|
|
|
|
port.clear(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|