1
0
mirror of https://github.com/kidoman/embd synced 2024-12-22 04:40:04 +01:00

pca9685: allow it to be initialised with default frequency

This commit is contained in:
Karan Misra 2014-01-10 07:40:24 +05:30
parent 043867e1f5
commit f61f69e51e

View File

@ -39,11 +39,10 @@ type PCA9685 struct {
}
// New creates a new PCA9685 interface.
func New(bus i2c.Bus, addr byte, freq int) *PCA9685 {
func New(bus i2c.Bus, addr byte) *PCA9685 {
return &PCA9685{
Bus: bus,
Addr: addr,
Freq: freq,
}
}