edlins / libPCA9685

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

Test #30

Closed edlins closed 6 years ago

edlins commented 6 years ago

added testmode to lib, PCA9685test added test config to CMakeLists added test invocation to .travis.yml

17

edlins commented 6 years ago

Very strange that I get different ioctl() values in Travis CI.. Will have to look into this some more.

edlins commented 6 years ago

Problem was not initializing read buffers so they had whatever happened to be in memory after allocation.

edlins commented 6 years ago

Minimal init was only in Freq. May have to add more inits when more tests are added.