Search found 22 matches

by andrew
Thu Oct 22, 2015 6:20 pm
Forum: WiPy and CC3200 boards
Topic: machine.RTC docs inaccurate?
Replies: 1
Views: 2448

machine.RTC docs inaccurate?

I think the machine.RTC docs need looking at and updating for WiPy. class RTC – real time clock The RTC is and independent clock that keeps track of the date and time. Example usage: rtc = machine.RTC() rtc.datetime((2014, 5, 1, 4, 13, 0, 0, 0)) print(rtc.datetime()) Constructors class machine.RTC(i...
by andrew
Thu Oct 22, 2015 5:38 pm
Forum: Programs, Libraries and Tools
Topic: Simple terminal (VT100) editor widget (and other widgets)
Replies: 22
Views: 34053

Re: Simple terminal (VT100) editor widget

@Roberthh I'd love to try your editor on my WiPy but it seems to run out of memory even when freshly booted. Any ideas? Login succeeded! Type "help()" for more information. >>> import gc >>> gc.mem_alloc() 2160 >>> gc.mem_free() 55232 >>> from wipye import pye Traceback (most recent call last): File...
by andrew
Thu Oct 22, 2015 1:16 pm
Forum: WiPy and CC3200 boards
Topic: WiPy dead after connecting SafeBoot pin with VIN
Replies: 16
Views: 12403

Re: WiPy dead after connecting SafeBoot pin with VIN

pyboard.bootloader() That only works in the pyboard, not in the WiPy. Make sure to be browsing the WiPy docs: http://micropython.org/resources/docs/en/latest/wipy/index.html And not the ones from the pyboard. I think the docs still need some cleaning up. For instance the math module is available fr...
by andrew
Thu Oct 22, 2015 9:58 am
Forum: WiPy and CC3200 boards
Topic: WiPy dead after connecting SafeBoot pin with VIN
Replies: 16
Views: 12403

Re: WiPy dead after connecting SafeBoot pin with VIN

Bizarrely it seems to have healed itself and now boots up normally not in safe boot mode. And just after I ordered a new one from your webshop... Oh well, two WiPys are better than one.

Andrew
by andrew
Tue Oct 20, 2015 9:51 pm
Forum: WiPy and CC3200 boards
Topic: Setting pin alternate function
Replies: 16
Views: 13867

Re: Setting pin alternate function

Looks like it's now "alt=9".

http://micropython.org/resources/docs/e ... achine-pin

Andrew
by andrew
Sat Oct 17, 2015 10:16 pm
Forum: WiPy and CC3200 boards
Topic: WiPy dead after connecting SafeBoot pin with VIN
Replies: 16
Views: 12403

Re: WiPy dead after connecting SafeBoot pin with VIN

I've just done the same thing, in my case by plugging the WiPy into the expansion board upside down. I thought it was completely dead but once some component on the expansion board cooled down again (it got burning hot) the WiPy booted. Unfortunately it seems to have shorted the safe boot pin perman...
by andrew
Sat Oct 17, 2015 12:02 pm
Forum: WiPy and CC3200 boards
Topic: Telnet "connection closed by foreign host"
Replies: 6
Views: 6714

Re: Telnet "connection closed by foreign host"

Is it after 5 minutes? That's what I'm seeing.

Andrew
by andrew
Thu Oct 15, 2015 2:29 pm
Forum: WiPy and CC3200 boards
Topic: Battery backup for RTC?
Replies: 2
Views: 3496

Re: Battery backup for RTC?

Thanks for the info.

Andrew
by andrew
Wed Oct 14, 2015 12:50 pm
Forum: WiPy and CC3200 boards
Topic: Battery backup for RTC?
Replies: 2
Views: 3496

Battery backup for RTC?

The pyboard has a "vbat" pin to connect a coin cell as a backup for the real time clock. Does the wipy have a similar battery backup connection point? If it does I can't see it...

Andrew
by andrew
Wed Sep 17, 2014 12:56 pm
Forum: Development of MicroPython
Topic: How to embed MicroPython in multiplatform C++ framework
Replies: 14
Views: 17254

Re: How to embed MicroPython in multiplatform C++ framework

I confess to not knowing what I'm talking about but isn't standard Python set up already to allow embedding?

https://docs.python.org/2/extending/embedding.html

Andrew