Search found 38 matches

by Stevo52
Mon Oct 05, 2020 8:57 pm
Forum: Pyboard D-series
Topic: WBUS-EMMC how to tell if it's present
Replies: 10
Views: 2408

Re: WBUS-EMMC how to tell if it's present

That wasn't really what I was asking, I understand the benefits of EMMC and the single file system etc. My question was if it is not possible to use EMMC and SDCard together (as the documentation says), how is that detected/managed? I got around it with a try/except, checking for EMMC before the SD....
by Stevo52
Sat Sep 26, 2020 12:53 am
Forum: Pyboard D-series
Topic: USBSTOR driver overwritten by accident
Replies: 3
Views: 1532

Re: USBSTOR driver overwritten by accident

Hi, The Sparkfun article you were following was not for the Pyboard D device you say you have. Have you tried following some of the information in this thread on this forum? https://forum.micropython.org/viewtopic.php?f=20&t=8197 you might not need the Python info that is included. Zadig isn't actua...
by Stevo52
Thu Sep 24, 2020 3:44 am
Forum: Programs, Libraries and Tools
Topic: WIZnet5K use DHCP ?
Replies: 4
Views: 1486

Re: WIZnet5K use DHCP ?

You haven't shown how you set up the WIZnet5k device?

This section of Micropython documentation might be worth reading, to help you figure it out...

http://docs.micropython.org/en/latest/l ... NET5K.html
by Stevo52
Mon Sep 14, 2020 9:16 pm
Forum: Programs, Libraries and Tools
Topic: MCP23008 General Purpose Driver
Replies: 8
Views: 1175

Re: MCP23008 General Purpose Driver

@mcauser Thanks, I had worked out everything I needed before you posted but it is always good to look at other builds and techniques, so I will keep yours as a reference for the future.
by Stevo52
Mon Sep 07, 2020 11:56 pm
Forum: Pyboard D-series
Topic: 3V3 output not working
Replies: 6
Views: 972

Re: 3V3 output not working

This might not be the 'correct way' but on V1.13 on SF2W and SF6W PYBD's I just use:

Code: Select all

import machine 
machine.Pin('EN_3V3').on()
Short and simple and it works for me :-)
by Stevo52
Fri Sep 04, 2020 7:33 am
Forum: Pyboard D-series
Topic: 3V3 output not working
Replies: 6
Views: 972

Re: 3V3 output not working

@ pythoncoder I have nearly done that myself, but being cautious I read the docs just in time.. it would be an easy thing to do!
by Stevo52
Sat Aug 29, 2020 2:02 am
Forum: Programs, Libraries and Tools
Topic: MCP23008 General Purpose Driver
Replies: 8
Views: 1175

Re: MCP23008 General Purpose Driver

Thanks again Dave, Agreed, readfrom_mem is the best option, which I have done and now have the code running for the last couple of hours while I cycle through the DUT tests. I had already implemented much of what you have suggested - probably because of a decent sleep.. :-) but sometimes it is handy...
by Stevo52
Fri Aug 28, 2020 10:20 pm
Forum: Programs, Libraries and Tools
Topic: MCP23008 General Purpose Driver
Replies: 8
Views: 1175

Re: MCP23008 General Purpose Driver

Yes, I am using the machine.I2C module (mainly for future use on other devices). Definitely some differences in using writeto and writeto_mem but have got that bit.. especially nominating the initial register I think my problems are all related to the readfrom, readfrom_mem differences, but I am mak...
by Stevo52
Fri Aug 28, 2020 9:03 pm
Forum: Programs, Libraries and Tools
Topic: MCP23008 General Purpose Driver
Replies: 8
Views: 1175

Re: MCP23008 General Purpose Driver

@dhylands Thanks, I have used tried, because usually your coding works, is clear, short and direct - which I like) but had to modify it because of changes to the i2c object in V1.12.. 1. There are 11 registers? but that line of code only allows for 10? I have tried the original code, plus adding the...
by Stevo52
Fri Aug 28, 2020 9:29 am
Forum: Programs, Libraries and Tools
Topic: MCP23008 General Purpose Driver
Replies: 8
Views: 1175

MCP23008 General Purpose Driver

Can anyone point me to a working MCP23008 (I2C GPIO Expander) for Pyb D or even Pyboard 1.1 or other mPython boards. I have found some examples that I have massaged to get some way to a suitable working example but it's a bit inconsistent and not quite right. I have the application note but I have f...