Search found 5 matches

by ulne
Wed Jul 04, 2018 2:31 pm
Forum: MicroPython pyboard
Topic: Pyboard I2C different answers
Replies: 2
Views: 2059

Re: Pyboard I2C different answers

Thank you very mach for help This works import time import array import machine from machine import I2C # INIT I2C i2c = machine.I2C(-1, machine.Pin('X9'), machine.Pin('X10')) def adc_write(addr, buf): i2c.writeto(addr, buf) # write: Address, Data return def adc_read(addr): # must be 72 to 79 result...
by ulne
Fri Jun 29, 2018 2:20 pm
Forum: MicroPython pyboard
Topic: Pyboard I2C different answers
Replies: 2
Views: 2059

Pyboard I2C different answers

Hallo I use pyboard V1.1 MicroPython v1.9.4-140-g8fb95d65 on 2018-06-12; PYBv1.1 with STM32F405RG ADS1100 16 Bit ADC with Adress 73 >>> import pyb >>> import machine >>> from machine import I2C >>> i2c = machine.I2C(-1, machine.Pin('X9'), machine.Pin('X10')) ... >>> result = i2c.readfrom(73, 3) >>> ...
by ulne
Tue Feb 13, 2018 9:31 am
Forum: MicroPython pyboard
Topic: W5500 isconnected() False
Replies: 4
Views: 3084

Re: W5500 isconnected() False

Thank you Topaazy I have connect my W5500 like your link MOSI connected to X8 MISO connected to X7 SCLK connected to X6 nSS connected to X5 SCS on the W5500 Board nRESET connected to X4 RST on the W5500 Board like the class WIZNET5K My Programm: import network nic = network.WIZNET5K(pyb.SPI(1), pyb....
by ulne
Thu Feb 01, 2018 6:38 am
Forum: MicroPython pyboard
Topic: W5500 isconnected() False
Replies: 4
Views: 3084

Re: W5500 isconnected() False

I want to use the Pyboard 1.1 with a W5500 Board like this (https://www.aliexpress.com/item/W5500-E ... 20397.html) I connect the W5500 like this: MOSI connected to X8 MISO connected to X7 SCLK connected to X6 nSS connected to X5 nRESET connected to X4 The Firmware ist the newest for network The Pyt...
by ulne
Tue Jan 30, 2018 11:11 am
Forum: MicroPython pyboard
Topic: W5500 isconnected() False
Replies: 4
Views: 3084

W5500 isconnected() False

I want to use the Pyboard 1.1 with a W5500 Board like this (https://www.aliexpress.com/item/W5500-E ... 20397.html) I connect the W5500 like this: MOSI connected to X8 MISO connected to X7 SCLK connected to X6 nSS connected to X5 nRESET connected to X4 The Firmware ist the newest for network The Pyt...