Search found 24 matches

by s_hatch
Mon Jun 18, 2018 8:54 pm
Forum: General Discussion and Questions
Topic: Anyone know how to generate a keyboard interrupt over the UART?
Replies: 4
Views: 2975

Re: Anyone know how to generate a keyboard interrupt over the UART?

I finally got the dfu working and got 1.9.4 loaded on my pyboard and it is working at last! Thanks, to roberhh and the team that fixed the software. It is great to be working on the project again.
by s_hatch
Mon Jun 18, 2018 5:54 pm
Forum: General Discussion and Questions
Topic: Anyone know how to generate a keyboard interrupt over the UART?
Replies: 4
Views: 2975

Re: Anyone know how to generate a keyboard interrupt over the UART?

I am on version 1.8.7. I downloaded 1.9.4 but it won't install on my pyboard. I am on Windows 10. When I go to Settings, Devices-- I can see the STM BOOTLOADER is connected. When I click on it I get a remove device button and no other actions. I can't upgrade my firmware.
by s_hatch
Mon Jun 18, 2018 4:16 pm
Forum: General Discussion and Questions
Topic: Anyone know how to generate a keyboard interrupt over the UART?
Replies: 4
Views: 2975

Anyone know how to generate a keyboard interrupt over the UART?

I am trying to interrupt a continuous loop from the uart REPL. I have tried the usual Cntrl-c (0x03) from the ascii table and not having any luck. I put it into a continuous loop: while True: print('a) Now I need to interrupt the loop with a Control-c, but it doesn't seem to work, coming from the ua...
by s_hatch
Mon May 14, 2018 11:40 am
Forum: General Discussion and Questions
Topic: Cursor positioning in TeraTerm
Replies: 2
Views: 2121

Re: Cursor positioning in TeraTerm

Thank you for responding. It works perfectly.
by s_hatch
Sun May 13, 2018 11:56 pm
Forum: General Discussion and Questions
Topic: Cursor positioning in TeraTerm
Replies: 2
Views: 2121

Cursor positioning in TeraTerm

I use TeraTerm and would like to use cursor positioning when using my pyboard. How does one send escape sequences to the TeraTerm terminal emulating a VT100?
by s_hatch
Thu Apr 19, 2018 9:11 pm
Forum: General Discussion and Questions
Topic: Help writing and reading files
Replies: 10
Views: 13921

Re: Help writing and reading files

Thanks, roberthh! Here is what I ended up doing that works well. def write_raw(): global raw f = open('raw.dat', 'w') for i in range(0, len(raw)): a = raw[i] a = str(a) a = a + '\n' f.write(a) f.close() import array raw1 = array.array('f', range(222)) def read_raw(): global raw1 f = open('raw.dat', ...
by s_hatch
Thu Apr 19, 2018 2:48 pm
Forum: General Discussion and Questions
Topic: Help writing and reading files
Replies: 10
Views: 13921

Re: Help writing and reading files

Thanks for all the replies. I tried the pickle solution, but the response I get when I try to import pickle: >>> import pickle Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: no module named 'pickle' >>> pickling doesn't seem to be part of MicroPython. I know I am...
by s_hatch
Wed Apr 18, 2018 10:42 pm
Forum: General Discussion and Questions
Topic: Help writing and reading files
Replies: 10
Views: 13921

Help writing and reading files

I am trying to save an array to a file so I can read it in later and have the same data available. I have been trying to do it with the struct library. I am doing the following: from struct import * f = open('raw-dat', 'r') for i in range(0,220): b = unpack('f', f.readlind()) c = b[0] print(c) It wi...
by s_hatch
Tue Feb 21, 2017 2:26 am
Forum: MicroPython pyboard
Topic: pyboard with a VGA display
Replies: 9
Views: 11507

Re: pyboard with a VGA display

Would anyone be interested in a board like this? I would like to put this board on the market. I am surprised that there are no posts to this. Am I not reading things correctly?