edlins / libPCA9685

superfast PCA9685 library for Debian platforms. developed on Raspbian on a Pi B+.
MIT License
13 stars 8 forks source link

Changed CMake min version to 3.0 #18

Closed pvint closed 6 years ago

pvint commented 6 years ago

Hi!

I kinda blew up my Pi last night, so today I am using this with a NextThing CHIP and the version of CMake on it is 3.0.2. I really didn't feel like compiling CMake from source to upgrade it, and I don't see anything that you're doing here that wouldn't be fine with 3.x.

Tested, and it works great! As an added bonus, you now know that it can work fine on devices other than a Pi. :)

edlins commented 6 years ago

Cool! Are you running The CHIP Operating System (based on Debian)? I imagine this will run on pretty much any OS that has kernel drivers for ioctl() that support combined transactions, (i2c_bcm2708 on the Pi B+) and userspace devlib device files (i2c_dev on the B+). Were there any diffs in the setup from the README or did it go exactly the same?

pvint commented 6 years ago

Yup, I'm running the headless version (based on Debian, yes).

There were definitely differences in the setup... I will try to go through my notes and add an update to the README. Right now I'm frantically trying to find where to buy a few new Pi Zero W.... I killed the one I had last night (Tip: Don't put +12V on the ground of the Pi! :D ) and I'm also on my last CHIP (and that company is gone)

edlins commented 6 years ago

Wow, and you're a hardware guy? :laughing: Did you see the magic smoke come out? I've popped a few MOSFETs and those can shoot shrapnel pretty far.. It would be great to update the README if you can.

pvint commented 6 years ago

Disappointingly, no smoke at all!

One of my CHIPs died when I was sloppy and let a lead on the I2C bus bump against a 12V contact, the other one just died one day and I don't think I can take credit for that one!

The README update is not likely to be tonight... another project to try to finish...