Search found 5 matches

by gpshead
Fri Apr 08, 2016 5:15 pm
Forum: WiPy and CC3200 boards
Topic: Wipy no float and math!
Replies: 19
Views: 7391

Re: Wipy no float and math!

What do you _need_ floating point for?

Reconsider how you implement things for microcontrollers.

Floating point is generally overkill for most all applications. Merely a convenience that desktop computer users have become used to.
by gpshead
Sun Dec 20, 2015 1:22 am
Forum: WiPy and CC3200 boards
Topic: os.urandom... isn't very random?
Replies: 6
Views: 5177

os.urandom... isn't very random?

Plotting the output of os.urandom(512) to a bitmap display is disturbingly non-random: https://lh3.googleusercontent.com/oLNBSo65flc5rCfW2otN7usInwNte0zBq6QaT6YCx7tAXPJUT0U0e6OveUUMTajqvL9bivP8nLgOVb9cBCehdUn9dxYeHiN7meWyD7avBcHrDXtARj5xE5Du1gCW63nITv2wqAWxkrKV3j8WnGHJJQGEzOTh9G2iRdCV81oyq6u2lhWZQDZ...
by gpshead
Thu Dec 17, 2015 5:04 pm
Forum: WiPy and CC3200 boards
Topic: Unable to assign a static IP address
Replies: 3
Views: 3124

Re: Unable to assign a static IP address

I believe you need to do wlan.connect before you do wlan.ifconfig.

Move your whole "if not wlan.isconnected():" block up as the first thing inside of your reset_cause checking block.
by gpshead
Sun Nov 22, 2015 3:48 am
Forum: WiPy and CC3200 boards
Topic: when will expansion board charge a battery?
Replies: 1
Views: 2587

when will expansion board charge a battery?

Good: When i'm powering a wipy on the expansion board via usb, the lipo battery charging appears to work. Bad: When i plug 5VDC directly into the gnd + vin pins instead of connecting USB, the battery charger doesn't appear to do its thing. in fact it's a bit scary: from machine import ADC adc = ADC(...