Search found 23 matches

by cooper
Tue Apr 25, 2017 2:54 pm
Forum: General Discussion and Questions
Topic: uPython MSC not appearing in windows explorer
Replies: 1
Views: 2097

Re: uPython MSC not appearing in windows explorer

No idea what happened but after checking drivers and other stuff, I gave up and left it connected.

It appears to be working now... *fingers crossed*
by cooper
Tue Apr 25, 2017 9:47 am
Forum: General Discussion and Questions
Topic: uPython MSC not appearing in windows explorer
Replies: 1
Views: 2097

uPython MSC not appearing in windows explorer

Hello, I am a bit stuck in the fact Windows is not showing my pybaord as a mass storage device. It is appearing in Windows device manager as a disc drive as well as a serial port. I was able to flash it via DFU as well. I have confirmed that the same pyboard works on another computer, just not this ...
by cooper
Wed Mar 30, 2016 7:02 am
Forum: General Discussion and Questions
Topic: Limit to file.write() ?
Replies: 3
Views: 3547

Re: Limit to file.write() ?

@pythoncoder my SD card is definitely ok, as this occurs with other cards.

@Roberthh thank you for the link to the bug, it does sound consistent with the issues I am having. I shall continue to use the chopping scheme until the issue has been solved.

Thank you both for your reply and assistance!
by cooper
Tue Mar 29, 2016 1:27 pm
Forum: General Discussion and Questions
Topic: Limit to file.write() ?
Replies: 3
Views: 3547

Limit to file.write() ?

Hi, Is there a limit to the amount of bytes one can write to the SD card in one go? I have been trying to log a string of about 900 bytes long, sometimes this works and most of the time I get OSError 5. Once that happens I can no longer write to the file unless I close it and open another. I have al...
by cooper
Wed Oct 14, 2015 1:57 pm
Forum: WiPy and CC3200 boards
Topic: Web Server
Replies: 2
Views: 6125

Web Server

Hello,

Is the WiPy capable of hosting a web server which is capable of basic HTML items like text and buttons?

If so where would I find any documentation on this, I have looked through all the docs I can find and couldn't find a thing!

Thanks
by cooper
Tue Sep 29, 2015 6:34 am
Forum: General Discussion and Questions
Topic: int() doesn't seem to work.
Replies: 4
Views: 6862

Re: int() doesn't seem to work.

Yes, the last two bytes are checksum bytes, which i dont intend to use at all. The standalone stuff works perfectly fine, it is only when I use the data from the UART where it goes funny. Which is rather annoying as that is the only part holding back the demo! Edit: OK, so I tried the same script on...
by cooper
Mon Sep 28, 2015 12:56 pm
Forum: General Discussion and Questions
Topic: int() doesn't seem to work.
Replies: 4
Views: 6862

Re: int() doesn't seem to work.

Thank you for your reply, perhaps it would help if i pasted the entire section: while 1: if rs485.any(): val = str(rs485.read(1).decode("ascii")) if ord(val) == 0x02: print(buffer) if "br=" in buffer or "tr=" in buffer: buffer = buffer[:-2] br = buffer.split("=")[1] brightness = int(br) print(bright...
by cooper
Mon Sep 28, 2015 11:18 am
Forum: General Discussion and Questions
Topic: int() doesn't seem to work.
Replies: 4
Views: 6862

int() doesn't seem to work.

Hi, I have some code which reads in messages from the serial port and shoves it into a buffer: buffer = buffer[:-2] br = buffer.split("=")[1] brightness = int(br) print(brightness) Yet when I try to convert the string to an int, i get: ValueError: invalid syntax for integer with base 10: '0' The thi...
by cooper
Wed Feb 11, 2015 8:49 pm
Forum: General Discussion and Questions
Topic: OS Errors and their meaning
Replies: 4
Views: 9146

Re: OS Errors and their meaning

Sorry if I wasn't clear enough, I am using a standard pyboard with version 1.3.8 from here https://micropython.org/download/ . I apologise if I confused you with my incorrect reference, i searched the error code and got that as a result amongst many and looked reasonable to me... I wouldn't even kno...
by cooper
Wed Feb 11, 2015 6:55 pm
Forum: General Discussion and Questions
Topic: OS Errors and their meaning
Replies: 4
Views: 9146

Re: OS Errors and their meaning

Thanks for your detailed reply! I found this website here: http://www.ioplex.com/~miallen/errcmp.html I'm using the image that's available on the main website. Which column would be most appropriate? I'm only really asking because I've seen error 10 and error 116 and have no idea what they mean...