Pão de Queijo Development Board. This repo has all libraries from pqdb shield.

Dependents:   pqdb_demo

Pão de Queijo development board is a shield for add-on on any arduino compatible board.

/media/uploads/rmaalmeida/compatibilidade_branco.png

This project presents the libraries to control the board peripherals using mbed framework. The libraries works as interfaces to keep the main code compatible with the examples from the book "Programação de sistemas embarcados". The peripherals on the board are presented on the folowing picture

/media/uploads/rmaalmeida/pqdb_perifericos.png

The main objective of the project is to develop a low cost, easy to assemble board with a group of peripheral that allows one to start learning embedded systems. The board was routed on one side copper PCB to make easier to buid it yourself.

/media/uploads/rmaalmeida/pqdb_fenolite_-_cortada.png

The source code for Arduino boards (wiring) can be found on: https://github.com/projetopqdb/PQDB-Arduino

The source code for freedom frdm KL05 board (using direct register access) can be found on: https://github.com/projetopqdb/PQDB-KL05Z

The source code from the board schematics and layout can be found on: https://github.com/projetopqdb/PQDB-Hardware

Committer:
rmaalmeida
Date:
Sat Sep 30 17:20:23 2017 +0000
Revision:
0:32fded6e1775
P?o de Queijo Development Board v1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rmaalmeida 0:32fded6e1775 1 #ifndef RGB
rmaalmeida 0:32fded6e1775 2 #define RGB
rmaalmeida 0:32fded6e1775 3
rmaalmeida 0:32fded6e1775 4 //todos desligados
rmaalmeida 0:32fded6e1775 5 #define OFF 0
rmaalmeida 0:32fded6e1775 6
rmaalmeida 0:32fded6e1775 7 //cores primárias
rmaalmeida 0:32fded6e1775 8 #define RED 1
rmaalmeida 0:32fded6e1775 9 #define GREEN 2
rmaalmeida 0:32fded6e1775 10 #define BLUE 4
rmaalmeida 0:32fded6e1775 11
rmaalmeida 0:32fded6e1775 12 //cores secundárias
rmaalmeida 0:32fded6e1775 13 #define YELLOW (RED+GREEN)
rmaalmeida 0:32fded6e1775 14 #define CYAN (GREEN+BLUE)
rmaalmeida 0:32fded6e1775 15 #define PURPLE (RED+BLUE)
rmaalmeida 0:32fded6e1775 16
rmaalmeida 0:32fded6e1775 17 //todos acesos
rmaalmeida 0:32fded6e1775 18 #define WHITE (RED+GREEN+BLUE)
rmaalmeida 0:32fded6e1775 19
rmaalmeida 0:32fded6e1775 20 void rgbColor(int led);
rmaalmeida 0:32fded6e1775 21 void turnOn(int led);
rmaalmeida 0:32fded6e1775 22 void turnOff(int led);
rmaalmeida 0:32fded6e1775 23 void rgbInit(void);
rmaalmeida 0:32fded6e1775 24 #endif