Search found 342 matches

by danicampora
Sat Jan 30, 2016 9:25 am
Forum: WiPy and CC3200 boards
Topic: Unexpected behavior on memory allocation
Replies: 9
Views: 8415

Re: Unexpected behavior on memory allocation

Hi!

What version of the WiPy software are you running?

Code: Select all

import os
os.uname()
Cheers,
Daniel
by danicampora
Sat Jan 30, 2016 9:22 am
Forum: WiPy and CC3200 boards
Topic: Jumper 5 (GPIO3 - VBattery)
Replies: 2
Views: 3192

Re: Jumper 5 (GPIO3 - VBattery)

Hi! With that jumper on, the battery voltage is connected to GPIO3 via a resistor divider, very useful to estimate the remaining battery charge. All the LiPo batteries that I have ordered during the last year come with the polarity that we chose for the JST conector in the expansion board, however, ...
by danicampora
Sat Jan 23, 2016 9:10 pm
Forum: WiPy and CC3200 boards
Topic: SPI not working
Replies: 4
Views: 5523

Re: SPI not working

Hi, I see that this is missing from the docs. The default SPI pins are GP14, GP16 and GP30. In order to select other pins you need to add the 'pins' tuple to the constructor: spi.init(mode, baudrate=1000000, *, polarity=0, phase=0, bits=8, firstbit=SPI.MSB, pins=(CLK, MOSI, MISO)) Example: spi = SPI...
by danicampora
Tue Jan 19, 2016 3:35 pm
Forum: Other Boards
Topic: CC3200-LAUNCHXL GPIO
Replies: 3
Views: 4473

Re: CC3200-LAUNCHXL GPIO

Hi, You are right, the pinout is actually defined to match the CPU GPIO (hence the GP pin names), and not the convention used by the Launchpad headers. I'll try to get sometime to fix this. In the meanwhile, check here: http://www.ti.com/lit/ug/swru372b/swru372b.pdf (figure 8) And then here: http://...
by danicampora
Sun Dec 20, 2015 9:19 pm
Forum: WiPy and CC3200 boards
Topic: os.urandom... isn't very random?
Replies: 6
Views: 9257

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

Hi,

The pyboard has a true harward random number generator, while the WiPy on the other hand as a software pseudo random one. The WiPy one is good enough in most cases, but I doubt it'll pass the NIST tests...

Cheers,
Daniel
by danicampora
Thu Dec 17, 2015 7:45 pm
Forum: WiPy and CC3200 boards
Topic: Unable to assign a static IP address
Replies: 3
Views: 6090

Re: Unable to assign a static IP address

Hi,

You can do wlan.conenct() before or after ifconfig, it doesn't matter. The problem I see is that you have set your Gateway to '0.0.0.0', that's not correct. You need to set it to an appropriate value.

Cheers,
Daniel
by danicampora
Wed Dec 16, 2015 9:37 pm
Forum: WiPy and CC3200 boards
Topic: Unable to start/stop FTP server
Replies: 2
Views: 4177

Re: Unable to start/stop FTP server

Hello,

I just added an example to the docs, should be available soon. You need to create an instance first. Do it like this:

Code: Select all

import network
s = network.server()
s.deinit() # disable the server
# enable the server again with new settings
s.init(login=('user', 'password'), timeout=600)
by danicampora
Sat Dec 12, 2015 5:09 pm
Forum: WiPy and CC3200 boards
Topic: Wipy flash/source code security.
Replies: 6
Views: 33452

Re: Wipy flash/source code security.

Hi,

Sorry for the late reply. Early next year, I hope.
by danicampora
Tue Dec 08, 2015 4:33 pm
Forum: WiPy and CC3200 boards
Topic: Driver for WS2812
Replies: 16
Views: 15734

Re: Driver for WS2812

The pyboard doesn't have an asynchronous API yet...