Search found 5 matches

by Microprofessor
Thu May 05, 2022 7:43 pm
Forum: General Discussion and Questions
Topic: First try at a websocket server - Pi Pico W5100S, HTML and javascript
Replies: 7
Views: 9443

Re: First try at a websocket server - Pi Pico W5100S, HTML and javascript

Thanks for the reply's I'll have a look at the Teensy with ethernet kit. But at the moment I have my Pico with ethernet port onboard so I'm going to focus on that. @scruss: The Wiznet firmware was my first try but somehow some modules/options are not available (like setsockopt). Sorry I can't be mor...
by Microprofessor
Mon May 02, 2022 6:18 pm
Forum: General Discussion and Questions
Topic: First try at a websocket server - Pi Pico W5100S, HTML and javascript
Replies: 7
Views: 9443

Re: First try at a websocket server - Pi Pico W5100S, HTML and javascript

Ok, I feel like I'm beating a dead horse trying to figure out how to get sockets working on this board. I'm switching to the Arduino IDE and C++ I'm using: https://github.com/khoih-prog/WebSockets_Generic https://github.com/khoih-prog/Ethernet_Generic My questions still stand though, I'm still inter...
by Microprofessor
Sun May 01, 2022 8:54 pm
Forum: General Discussion and Questions
Topic: the socket rabbit hole
Replies: 2
Views: 1660

Re: the socket rabbit hole

I think I feel your pain :) I've been trying to get sockets to work the last few days, and it's still a mystery to me. Sorry I can't help you. The problem I'm currently running into is: self.serv_soc.setsockopt(usocket.SOL_SOCKET, usocket.SO_REUSEADDR, 1) AttributeError: 'module' object has no attri...
by Microprofessor
Sat Apr 30, 2022 6:32 pm
Forum: General Discussion and Questions
Topic: First try at a websocket server - Pi Pico W5100S, HTML and javascript
Replies: 7
Views: 9443

First try at a websocket server - Pi Pico W5100S, HTML and javascript

Hi all, I edited this post because I think I took the wrong approach. I though it was going somewhere but no... :( My goal is to have a web interface to control electronics from a Pico. I would like to do this using HTML, Javascript and websockets. This is my first time using websockets and I could ...