Skip to content

Commit

Permalink
Updated TCP GUI to support Kalam32 mDNS
Browse files Browse the repository at this point in the history
  • Loading branch information
protocentralashwin committed Apr 25, 2017
1 parent fa99c9f commit 8359b1f
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
s
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void createGUI(){
close.setTextBold();
close.setLocalColorScheme(GCScheme.GREEN_SCHEME);
close.addEventHandler(this, "close_click");
imgButton1 = new GImageButton(this, 488, 3, 277, 48, new String[] { "logo.jpg", "logo.jpg", "logo.jpg" } );
imgButton1 = new GImageButton(this, 488, 3, 277, 48, new String[] { "logo.png", "logo.png", "logo.png" } );
imgButton1.addEventHandler(this, "imgButton1_click1");
lbl_hr = new GLabel(this, 542, 144, 250, 58);
lbl_hr.setTextAlign(GAlign.CENTER, GAlign.MIDDLE);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
s
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -180,22 +180,20 @@ public void setup()
}
time = 0;

myClient = new Client(this,"192.168.1.101",4567);
myClient = new Client(this,"kalam32.local",4567);
startPlot=true;

label1.setFont(new Font("Monospaced", Font.PLAIN, 14));
label1.setLocalColorScheme(GCScheme.YELLOW_SCHEME);
label11.setFont(new Font("Arial", Font.PLAIN, 14));
}

void ClientEvent(Client someClient)
void clientEvent(Client someClient)
{
inString=myClient.readChar();
println(inString);
pc_processData(inString);


pc_processData(inString);
}

public void draw()
{
background(0);
Expand Down Expand Up @@ -256,12 +254,13 @@ void startSerial()
// Event Handler To Read the packets received from the Device
//
//////////////////////////////////////////////////////////////////

/*
void serialEvent (Serial blePort)
{
inString = blePort.readChar();
pc_processData(inString);
}
*/

/*********************************************** Getting Packet Data Function *********************************************************/

Expand Down

0 comments on commit 8359b1f

Please sign in to comment.