Search found 2 matches

by tim&struppi
Sat Jul 06, 2019 10:34 pm
Forum: Programs, Libraries and Tools
Topic: spi.write with bytearray
Replies: 2
Views: 2574

Re: spi.write with bytearray

Hello Roberthh
Thanks, it works. :D
I think, i must learn a lot of Basics....
by tim&struppi
Sat Jul 06, 2019 7:39 pm
Forum: Programs, Libraries and Tools
Topic: spi.write with bytearray
Replies: 2
Views: 2574

spi.write with bytearray

Hello I am new in this forum and new in micropython. First, no code tags or BBCode is working in my post? :shock: Or i am to stuppid I want to send a byte over spi.write, stored in an bytearray. Here are my testcode: from machine import Pin, SPI import time spi = SPI(-1, baudrate=100000, polarity=1,...