Search found 34 matches
- Sun Apr 15, 2018 7:51 pm
- Forum: ESP32 boards
- Topic: creating a pin in c
- Replies: 4
- Views: 3558
- Fri Apr 13, 2018 6:08 pm
- Forum: ESP32 boards
- Topic: creating a pin in c
- Replies: 4
- Views: 3558
- Mon Apr 09, 2018 5:08 pm
- Forum: ESP32 boards
- Topic: creating a pin in c
- Replies: 4
- Views: 3558
creating a pin in c
I have a python module to communicate with a wireless PS2 controller I want to port to C. The init function starts with this. def __init__( self, aCmd, aData, aClk, aAtt, aCallback = None ): self._cmd = Pin(aCmd, Pin.OUT, Pin.PULL_UP) self._data = Pin(aData, Pin.IN, Pin.PULL_UP) self._clk = Pin(aClk...
- Thu Mar 01, 2018 6:01 pm
- Forum: Drivers for External Components
- Topic: Hiletgo 7 segment display
- Replies: 2
- Views: 3059
- Thu Mar 01, 2018 6:00 pm
- Forum: Drivers for External Components
- Topic: DS3231 I2C real time clock.
- Replies: 6
- Views: 5771
Re: DS3231 I2C real time clock.
Wow pythoncoder, I am truly sorry and I stand completely corrected. I don't make it a habit of writing code that already exists in usable form and don't recall even seeing your code. Please accept my apology. I will re-examine your implementation, and if it works for me I'll go so far as to remove m...
- Thu Mar 01, 2018 3:17 pm
- Forum: Drivers for External Components
- Topic: PCA9865 16 servo controller board using I2C.
- Replies: 18
- Views: 64771
Re: PCA9865 16 servo controller board using I2C.
Nothing, other than not knowing it existed. When I wrote this nothing popped up in google searches.deshipu wrote: ↑Thu Mar 01, 2018 1:34 pmWhat's wrong with https://github.com/adafruit/micropython ... it-pca9685 ?
- Thu Mar 01, 2018 3:15 pm
- Forum: Drivers for External Components
- Topic: DS3231 I2C real time clock.
- Replies: 6
- Views: 5771
Re: DS3231 I2C real time clock.
Looks kinda familiar ;) If you look at my source you'll see that I have a policy of referencing sources when I adapt the code of others. No beef - just saying. The above repo now includes a cross-platform version of this driver for those wishing to endow their ESP8266 with a decent RTC. The old Pyb...
- Wed Feb 28, 2018 10:52 pm
- Forum: Drivers for External Components
- Topic: PCA9865 16 servo controller board using I2C.
- Replies: 18
- Views: 64771
Re: PCA9865 16 servo controller board using I2C.
I have never slaved I2C yet but I'm sure in the future I will have to. So I'd be interested in that change.
- Wed Feb 28, 2018 6:32 pm
- Forum: Drivers for External Components
- Topic: Hiletgo 7 segment display
- Replies: 2
- Views: 3059
Hiletgo 7 segment display
HiLetgo 4 Bits Digital Tube LED Segment Display Module https://www.amazon.com/gp/product/B01DKISMXK/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 https://github.com/GuyCarver/MicroPython/blob/master/lib/sevenseg.py Kind of dirty with no comments, but it works. I see now that there is a similar driver ...
- Wed Feb 28, 2018 6:27 pm
- Forum: Drivers for External Components
- Topic: Hilitchi joystick controller
- Replies: 1
- Views: 2796
Hilitchi joystick controller
For the Hilitchi Arduino compatible Biaxial Button Joystick Sensor Module. https://www.amazon.com/gp/product/B018LDHNBQ/ref=oh_aui_detailpage_o05_s01?ie=UTF8&psc=1 The axis inputs on this joysticks are pretty noisy and not very linear. https://github.com/GuyCarver/MicroPython/blob/master/lib/joystic...