Search found 116 matches

by bitninja
Thu Nov 28, 2019 9:38 am
Forum: ESP8266 boards
Topic: long running webserver not reachable
Replies: 7
Views: 302

Related Question

Is the sleep_type() setting persistent like the connection and debug settings?

ie. You only need to execute the commands once and the ESP8266 remembers the value even after a reboot.
by bitninja
Thu Mar 28, 2019 2:01 am
Forum: General Discussion and Questions
Topic: Target audience for MicroPython?
Replies: 51
Views: 3327

Re: Target audience for MicroPython?

Actually, I DO have tons of fun working with MicroPython...however you would classify me.
by bitninja
Wed Mar 27, 2019 9:48 pm
Forum: General Discussion and Questions
Topic: Target audience for MicroPython?
Replies: 51
Views: 3327

Re: Target audience for MicroPython?

Picasso wrote:
Mon Mar 25, 2019 7:29 pm
Have you ever tried to build micropython on windows? Impossible.
I find this funny because I do it all the time. No not natively, but with a VM running the perfect environment for building my firmware.
by bitninja
Sun Mar 24, 2019 3:41 pm
Forum: Programs, Libraries and Tools
Topic: urandom.randint() replacement?
Replies: 1
Views: 356

Re: urandom.randint() replacement?

Not sure where I found it... :?

Code: Select all

import urandom

def randint(min, max):
    span = max - min + 1
    div = 0x3fffffff // span
    offset = urandom.getrandbits(30) // div
    val = min + offset
    return val
by bitninja
Sat Mar 02, 2019 11:47 pm
Forum: Hardware Projects
Topic: Portable WiFi LED Matrix Marquee
Replies: 0
Views: 587

Portable WiFi LED Matrix Marquee

Just wanted to share my latest MicroPython project...

https://github.com/joewez/WifiMarquee

It's a pretty small application of about 200 lines, but it seemed original and fun to work on.
by bitninja
Tue Feb 26, 2019 7:35 pm
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 780

Re: Build Issue

Sounds like you are doing everything correctly... I'm not sure why adding your modules causes the build to throw an error.

When you...

Code: Select all

make clean
it deletes the build sub-directory, so messing around in there probably won't help.

And yes, the

Code: Select all

make axtls
doesn't seem to be needed anymore.
by bitninja
Thu Feb 07, 2019 6:17 pm
Forum: ESP8266 boards
Topic: Saving Space for Frozen Code
Replies: 3
Views: 389

Re: Saving Space for Frozen Code

Thanks for that!

I will give a try when I get home.

Tell me, does this take space away from the integrated flash file system?
by bitninja
Thu Feb 07, 2019 7:19 am
Forum: ESP8266 boards
Topic: Saving Space for Frozen Code
Replies: 3
Views: 389

Saving Space for Frozen Code

I have been building the esp8266 version of MicroPython for some time now and have noticed some limitations of how much I can fit before it fails to build. I am at a point now where I have to choose between two important apps and was wondering if I can trim elsewhere to get them both to fit. Is ever...
by bitninja
Thu Jan 31, 2019 6:26 am
Forum: MicroPython pyboard
Topic: - do i need to have a pyBoard to start with MicroPython !?
Replies: 5
Views: 566

Re: - do i need to have a pyBoard to start with MicroPython !?

Yes, the Wemos D1 Mini works great with MicroPython.

Code: Select all

from machine import Pin
import time

led = Pin(2, Pin.OUT)

while True:
    led.on()
    time.sleep_ms(500)
    led.off()
    time.sleep_ms(500)
by bitninja
Thu Dec 13, 2018 10:26 pm
Forum: General Discussion and Questions
Topic: State of MicroPython universe (was: of micropython-lib?)
Replies: 52
Views: 17497

Re: State of MicroPython universe (was: of micropython-lib?)

zinahe wrote:
Thu Dec 13, 2018 9:55 pm
...both of you are damn in denial....
Can't say that I agree with that. Sorry. But I do agree the situation is regrettable.