nmz787 wrote:
Well enough for tonight, thanks for the help. I see a file-system folder auto-open with the boot.py and main.py... so I will play with this tomorrow. Maybe I'll even take it into work (though I can't do a demo of the cap-sense LED program I made without an LED first I guess!)
Yeah couldn't hold back...
Just went ahead and soldered an LED with a 220 Ohm resistor inline with the GPIO pin marked PB8, because in the ST datasheet it also had an associated alternate PWM/TIM (TIMer) function.
Code is slightly different for pins and timers, cap-sense LED code works, and it appears as a filesystem/drive... I can just edit with my GUI text editor of choice (sublime) and hit CTRL-S to save and my board seems to auto-update (or I just alt-tab into the console hooked to the virtual serial port, and hit CTRL-D or CTRL-C)
https://gist.github.com/nmz787/afc7fea4 ... ff=unified
See page 43 for the pin function map:
http://www.st.com/content/ccc/resource/ ... 102166.pdf
I will grep the source files (I am guessing in your G30TH repo) for how to customize the pin names and such like:
pyb.Pin.board.JP32
Thanks Dave! Definitely less buggy and feels like Python should!!!