mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
nunchuck: C port; FTI; C++ wraps C
Some API changes were made as well, see docs/apichanges.md. Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -4,6 +4,14 @@ API Changes {#apichanges}
|
||||
Here's a list of other API changes made to the library that break source/binary
|
||||
compatibility between releases:
|
||||
|
||||
* **nunchuck** This driver no longer supports the init() function.
|
||||
All initialization is now done in the C nunchuck_init() function,
|
||||
or the C++ constructor. In addition, the *NUNCHUCK_I2C_ADDR*
|
||||
define is no longer exposed, as it is not possible to use any other
|
||||
I2C address than *0x52*. The readBytes() and writeByte() functions
|
||||
are also no longer exposed, since aside from what the driver does
|
||||
to initialize and read data, there are no other options available.
|
||||
|
||||
* **enc03r** This driver no longer supports the value() function. In
|
||||
addition, an update() function has been added. This function must be
|
||||
called prior to calling angularVelocity(). angularVelocity() no
|
||||
|
Reference in New Issue
Block a user