Search found 931 matches

by deshipu
Sat Mar 25, 2017 3:33 pm
Forum: ESP8266 boards
Topic: [Solved] Urequests Adafruit.io
Replies: 2
Views: 65

Re: Urequests Adafruit.io

That means that Adafruit replied with a response that normally tells the browser to visit some other address -- a redirect. And urequests doesn't support that, so you get an exception. If it works for you, you can just catch that exception with a try-except block and ignore it, just make sure to che...
by deshipu
Fri Mar 24, 2017 6:28 pm
Forum: ESP8266 boards
Topic: Servo Shield
Replies: 0
Views: 36

Servo Shield

You might be aware that one of my hobbies is building walking robots. Those use a lot of servos, and I need a convenient way to control them all. That's why I experimented for the last couple of years with different approaches to a servo controller board. My latest project is a servo shield for the ...
by deshipu
Fri Mar 24, 2017 5:24 pm
Forum: General Discussion and Questions
Topic: C enviroment that can read python occasionally, is micropython what I want?
Replies: 12
Views: 196

Re: C enviroment that can read python occasionally, is micropython what I want?

You can always write a compiler from a C-like syntax to Forth-like bytecode. That's actually what Python does.
by deshipu
Fri Mar 24, 2017 8:46 am
Forum: ESP8266 boards
Topic: need some info
Replies: 1
Views: 50

Re: need some info

This should give you some ideas: https://github.com/esp8266/Arduino/issues/1013
by deshipu
Thu Mar 23, 2017 7:14 pm
Forum: General Discussion and Questions
Topic: C enviroment that can read python occasionally, is micropython what I want?
Replies: 12
Views: 196

Re: C enviroment that can read python occasionally, is micropython what I want?

You can also take a look at LUA (nodemcu) and JavaScript (espruino) -- they are implemented for similar platforms to those on which MicroPython works, and might fit your use case better. And of course there is always that Forth ;-).
by deshipu
Thu Mar 23, 2017 6:50 pm
Forum: General Discussion and Questions
Topic: How do I make different kinds of web - request?
Replies: 6
Views: 105

Re: How do I make different kinds of web - request?

Perhaps you can examine the firmware's source and see for yourself. My guess would be that they are doing a so-called "tcp ping".
by deshipu
Wed Mar 22, 2017 11:33 pm
Forum: General Discussion and Questions
Topic: C enviroment that can read python occasionally, is micropython what I want?
Replies: 12
Views: 196

Re: C enviroment that can read python occasionally, is micropython what I want?

The precompiled files can actually be larger than the original source, so you are unlikely to get much savings there.

The Python functions you are calling can return a value, set a global variable, or call a method on an object they get to change the state.
by deshipu
Wed Mar 22, 2017 7:31 pm
Forum: General Discussion and Questions
Topic: How do I make different kinds of web - request?
Replies: 6
Views: 105

Re: How do I make different kinds of web - request?

That is ICMP, not HTTP. A completely different thing and three network levels away from HTTP.
As far as I can tell, ESP8266 doesn't support ICMP.
by deshipu
Wed Mar 22, 2017 5:12 pm
Forum: General Discussion and Questions
Topic: C enviroment that can read python occasionally, is micropython what I want?
Replies: 12
Views: 196

Re: C enviroment that can read python occasionally, is micropython what I want?

You can always put your whole program in a function in a module written in C, and then in main.py only have one line that imports and runs that. Then, in that C code, you have access to all the MicroPython tooling, including functions for calling and executing Python code. Not the most straightforwa...
by deshipu
Wed Mar 22, 2017 5:07 pm
Forum: General Discussion and Questions
Topic: How do I make different kinds of web - request?
Replies: 6
Views: 105

Re: How do I make different kinds of web - request?

Pray tell what the heck is a ECHOREQUEST? There is no such thing in the HTTP protocol RFCs.

Go to advanced search