Search found 3 matches

by Jameth
Tue Jan 04, 2022 2:00 pm
Forum: General Discussion and Questions
Topic: i2c digital potentiometer control issues
Replies: 3
Views: 5331

Re: i2c digital potentiometer control issues

Many thanks to both of you. I did actually land on: i2c.writeto(0x2f, b'\x20\xff') but the peripheral didn't respond accordingly, so we know my i2c commands are wrong :P but I was having such little luck googling that I thought I was way off the mark. Can either of you recommend a good textbook or o...
by Jameth
Sun Jan 02, 2022 11:33 pm
Forum: General Discussion and Questions
Topic: i2c digital potentiometer control issues
Replies: 3
Views: 5331

i2c digital potentiometer control issues

Hello everyone. I'm trying to control a digital potentiometer over i2c with a pico, I have been through the monster datasheet and have a string of 1's and 0's I want to send to the potentiometer, it only needs 2 bytes after the address byte (00100000, 11111111 for anyone playing along at home) and i...
by Jameth
Sat Dec 04, 2021 9:34 pm
Forum: General Discussion and Questions
Topic: Basic Syntax issues, trouble using "or"
Replies: 2
Views: 3659

Basic Syntax issues, trouble using "or"

Hello Everyone! Im enjoying my first crack at MicroPython, feels somehow more robust than C, which I'm almost dangerous with, but after an afternoon goolging today I'm finding it really hard to do a simple thing, I'm sure I'm just not seeing something here, but id be grateful for some help :) I want...