1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_pca9685
Gerson Fernando Budke 4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
..
app.config.test tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
main.c tests: app for testing PCA9685 PWMs 2019-09-12 19:13:20 +02:00
Makefile tests/driver_pca9685: remove useless BOARD_BLACKLIST 2019-11-16 14:16:27 +01:00
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md tests: app for testing PCA9685 PWMs 2019-09-12 19:13:20 +02:00

PCA9685 I2C PWM controller

Overview

This test appliation demonstrates the usage of the PCA9685 driver interface and can be used to test each PCA9685 PWM device with shell commands.

The application bases on the test application for PWM peripheral drivers which is under following copyright:

 Copyright (C) 2014-2015 Freie Universität Berlin
 @author Hauke Petersen <hauke.petersen@fu-berlin.de>
 @author Semjon Kerner <semjon.kerner@fu-berlin.de>

Usage

To use the test application, compile it with

     make -C tests/driver_pca9685 BOARD=...

Please check the default configuration parameters in $(RIOTBASE)/drivers/pca9685/include/pca9685_params.h and adopt them if necessary.

If the active LOW output enable pin /OE is used, the GPIO has to be defined as parameter, e.g.

     CFLAGS="-DPCA9685_PARAM_INT_PIN=\(GPIO\(0,6\)\)" \
     make -C tests/driver_pca9685 BOARD=...