A feature complete driver for the PCA9952/55 LED driver from NXP.
Dependents: PCA9955_HelloWorld
Diff: PCA9955.cpp
- Revision:
- 11:dbf20a128eb6
- Parent:
- 10:c8c96c894ec6
- Child:
- 12:2b8adb10c605
diff -r c8c96c894ec6 -r dbf20a128eb6 PCA9955.cpp --- a/PCA9955.cpp Fri May 02 17:29:33 2014 +0000 +++ b/PCA9955.cpp Tue May 06 17:03:59 2014 +0000 @@ -1,5 +1,5 @@ /* PCA9955 Driver Library - * Copyright (c) 2013 Neil Thiessen + * Copyright (c) 2014 Neil Thiessen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,10 +36,10 @@ void PCA9955::reset() { - //The SWRST magic data byte + //The General Call Reset command char data = 0x06; - //Issue the SWRST call to the General Call address + //Issue the command to the General Call address m_I2C.write(0x00, &data, 1); }