Search found 933 matches

by deshipu
Mon Mar 27, 2017 9:56 am
Forum: Development of MicroPython
Topic: Adding a module error
Replies: 9
Views: 152

Re: Adding a module error

That was changed recently in master. You can checkout an older version to get the older behavior.
by deshipu
Mon Mar 27, 2017 7:37 am
Forum: The micro:bit
Topic: help adding string module to mu or any other ide
Replies: 3
Views: 48

Re: help adding string module to mu or any other ide

Can't you just implement that function in Python yourself?
by deshipu
Sat Mar 25, 2017 3:33 pm
Forum: ESP8266 boards
Topic: [Solved] Urequests Adafruit.io
Replies: 2
Views: 74

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

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

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

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

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

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

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

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.

Go to advanced search