kadaradam

Results 9 comments of kadaradam

I don't know why, but the `datagramSocket.send` function for some reason didn't work on my Nexus 7 tablet. The code is fine, and the app works well on other devices....

Here you go: https://github.com/kadaradam/ws2812b-Controller I just quickly uploaded the code, will add more info to the repo later.

Oh yeah, this would not work with the pi setup in this form. You would have to create an udp server, then process the data (led num, rgb colors) coming...

Yeah, it does. The android app sends a data to the udp server which leds should light up in what color. That's how the visualization works on Arduino. Since you...

Yes, because the received value is in bytes. Also the app sends the data in the following format: > i = index > r = red value > g =...

What do you mean? The code I sent you above is not working? It works perfectly for me: ![image](https://user-images.githubusercontent.com/6311130/33289791-fb1dfb4a-d3c0-11e7-9dd1-a944110c2355.png) Now you just gotta use the Adafruit libary and light up...

``` import socket import sys sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) server_address = ('192.168.1.111', 7777) print('starting up on %s port %s' % server_address) sock.bind(server_address) while True: print('\nwaiting to receive message') data, address...

Oh yeah, you don't need to do that. I'm not much a python guy, so I did some digging and found the solution for python 2.7. Just the swap the...

Yeah I know, that's why I edited my post later. I was kinda tired sorry. :D No need for another loop: ``` ldata = map(ord, data) for i in range(0,...