Search found 930 matches

by deshipu
Fri Mar 24, 2017 6:28 pm
Forum: ESP8266 boards
Topic: Servo Shield
Replies: 0
Views: 20

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: 11
Views: 163

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: 39

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: 11
Views: 163

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: 98

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: 11
Views: 163

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: 98

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: 11
Views: 163

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: 98

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.
by deshipu
Tue Mar 21, 2017 7:59 am
Forum: ESP8266 boards
Topic: webrepl_setup error
Replies: 1
Views: 45

Re: webrepl_setup error

This is related. Please erase_flash before flashing your micropython firmware -- that should help.

Go to advanced search