Search found 140 matches

by kwiley
Wed May 30, 2018 4:35 pm
Forum: Programs, Libraries and Tools
Topic: PyCharm MicroPython pyb module?
Replies: 3
Views: 6176

Re: PyCharm MicroPython pyb module?

Thanks. The dummy file will be good enough for now, since I only intend to run the code on the PyBoard. I am curious about options of integrating PyCharm with the PyBoard for tightly coupled development, but one step at a time. It's nice just to be able to develop code in a completed and checked fas...
by kwiley
Tue May 29, 2018 10:15 pm
Forum: Programs, Libraries and Tools
Topic: PyCharm MicroPython pyb module?
Replies: 3
Views: 6176

PyCharm MicroPython pyb module?

I found the MicroPython PyCharm plugin, installed it, and activated it for my project, but references to the pyb module are still unrecognized in my code. I realize pyb isn't really part of MicroPython native, but I also activated the plugin's Pyboard option under the Languages & Frameworks settings...
by kwiley
Fri May 18, 2018 8:28 pm
Forum: General Discussion and Questions
Topic: No luck with SPI
Replies: 5
Views: 3656

Re: No luck with SPI

If anyone is curious about my progress on this problem, I have gotten it to work by going directly to the machine module for SPI control. Attempting to operate SPI via the pyb module fails while identical code (modulo slight SPI naming differences) works via the machine module. Printing the spi obje...
by kwiley
Fri May 18, 2018 5:20 pm
Forum: General Discussion and Questions
Topic: No luck with SPI
Replies: 5
Views: 3656

Re: No luck with SPI

Oh, I'm rereading your response, and since you were responding to my claim that the two buses both react to changes even though only one was connected, that means you were referring to floating pins on the PyBoard, not the shield. Do you believe I need to pull additional pins on the PyBoard itself l...
by kwiley
Fri May 18, 2018 5:18 pm
Forum: General Discussion and Questions
Topic: No luck with SPI
Replies: 5
Views: 3656

Re: No luck with SPI

I guess one thing I'm worried about is that any of the numerous other pins on the shield might be receiving an important signal (including pull down or pull up) from the Arduino and that I need to correspondingly adjust them before PyBoard SPI connected to just a handful of pins will work. Anyway, g...
by kwiley
Thu May 17, 2018 9:15 pm
Forum: General Discussion and Questions
Topic: No luck with SPI
Replies: 5
Views: 3656

No luck with SPI

I'm trying to use a PyBoard to control an SPI Arduino shield device. An Arduino Uno successfully communicates with the device, so I know the device is working properly. I have meticulously studied both the hardware (pin assignment and voltage assignments) and the underlying code (SPI library utiliza...
by kwiley
Thu May 17, 2018 4:17 pm
Forum: General Discussion and Questions
Topic: pyb.SPI vs pyb.machine.SPI?
Replies: 4
Views: 3279

Re: pyb.SPI vs pyb.machine.SPI?

Thank you. I've have had no luck with SPI communications yet. I don't know if I'm using the PyBoard SPI library incorrectly or if I'm accessing the other devices' SPI APIs incorrectly (probably the latter of course). It's driving me crazy. I2C works fine, but I've had no luck with SPI yet.
by kwiley
Wed May 16, 2018 11:02 pm
Forum: General Discussion and Questions
Topic: Version history?
Replies: 4
Views: 3534

Re: Version history?

Thanks.
by kwiley
Wed May 16, 2018 9:04 pm
Forum: General Discussion and Questions
Topic: pyb.SPI vs pyb.machine.SPI?
Replies: 4
Views: 3279

pyb.SPI vs pyb.machine.SPI?

The documentation has similar, but not identical, APis for SPI communication under the top pyb module and under the secondary pyb.machine module. What's the difference and what criteria determine which module I should use?

Thanks.
by kwiley
Wed May 16, 2018 6:07 pm
Forum: General Discussion and Questions
Topic: Version history?
Replies: 4
Views: 3534

Version history?

I searched the forums, the FAQ, and the github docs, but didn't see a clear indication of the version history. My PyBoard appears to currently have v1.9.2 on it. Where can I find a concise list of differences in v1.9.3 and v1.9.4?

Thanks.