Author Topic: DigiFi client and server in the same sketch  (Read 1864 times)

MobileWill

  • Newbie
  • *
  • Posts: 3
DigiFi client and server in the same sketch
« on: January 19, 2014, 08:42:05 pm »
Hi,

Finally got around to playing with the DigiX. My first use it to port over my Twitter display from the Due to the DigiX. So far it has gone well.

Now I had the idea to add a function to change the search query over WiFi. The problem which I don't know if the library isn't setup to handle this switching back and forth from client to server.

It either hangs shows a 0.0.0.0 IP and or never is able to reply to a request.

This post pointed me in the right direction but so far not working. I see that you have to switch back to server mode. Do you have to switch to client mode or just make a request?
http://digistump.com/board/index.php/topic,1255.0.html

Here is all my code.
https://github.com/FriedCircuits/LED_Matrix_Twitter_DigiX

Thanks for any help or at least point me in the right direction.

« Last Edit: January 20, 2014, 11:40:23 am by MobileWill »