Skip to content
Snippets Groups Projects
Commit cc794012 authored by Puissegur Alexis's avatar Puissegur Alexis
Browse files

removing gggg

parent 4b777d02
No related branches found
No related tags found
No related merge requests found
......@@ -29,20 +29,14 @@ public class BluetoothThread extends Thread {
}
@Override
public void run() {
System.out.println("hey c parti");
public void run() {
while (keepGoing) {
System.out.println("hi");
byte b;
try {
// Each packet must start with two SYNC bytes in a row
System.out.println("New packet found");
byte[] payload = new byte[100];
byte[] payload = new byte[16];
connection.getInputStream().read(payload);
this.buffer = new String(payload, StandardCharsets.UTF_8);
System.out.println("payload : " + this.buffer);
notifyObserver();
//connection.getOutputStream().write("SOUND".getBytes());
......
......@@ -27,10 +27,10 @@
<Label text="La plante qui pleure" textAlignment="CENTER" GridPane.halignment="CENTER">
<font>
<Font name="Trebuchet MS Bold" size="28.0" />
</font>gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
</font>
</Label>
<GridPane fx:id="accueil" style="-fx-background-color: white;" GridPane.rowIndex="1">
<columnConstragggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggints>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="10.0" prefWidth="20.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment