ntoll / uflash

A module and command to easily flash Python onto the BBC's micro:bit device.
http://micropython.org/
MIT License
101 stars 27 forks source link

uflash wont flash a 8176 byte script #58

Open rhubarbdog opened 5 years ago

rhubarbdog commented 5 years ago

Is this because I'm a linux user with a single \n terminating my .py file lines and your flashing \r\n? It is 288 lines long

carlosperate commented 5 years ago

uFlash shoudn't be changing the line endings, perhaps you have characters that take more than a single byte in UTF-8?

rhubarbdog commented 5 years ago

There is a symbol DEGREES = u'\xb0' but apart from that it's just ascii/uft-8 0 - 127