This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
25XX320 - Memoria Eeprom SPI 32Kb | |
Autor: Tiago | |
Blog: microcontrolandos.blogspot.com.br | |
Compilador: MikroC PRO PIC | |
*/ | |
/* Comandos */ | |
#define E25XX320_CMD_READ 0b00000011 //Read data from memory array beginning at selected address | |
#define E25XX320_CMD_WRITE 0b00000010 //Write data to memory array beginning at selected address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
25XX320 - Memoria Eeprom SPI 32Kb | |
Autor: Tiago | |
Blog: microcontrolandos.blogspot.com.br | |
Compilador: MikroC PRO PIC | |
*/ | |
//pinos | |
sbit SoftSpi_SDI at RB2_bit; | |
sbit SoftSpi_SDO at RB1_bit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
RDA5807 - SINGLE-CHIP BROADCAST FM RADIO TUNER | |
Autor: Tiago | |
Blog: microcontrolandos.blogspot.com.br | |
Compilador: MikroC PRO PIC | |
*/ | |
#define RDA5807P_ADDRESS 0x20 | |
typedef struct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
PROJETO: Radio FM com RDA5807P | |
MCU: PIC18F4550 | |
Compilador: MikroC PRO PIC | |
Autor: Tiago | |
Blog: microcontrolandos.blogspot.com.br | |
Bibliotecas utilizadas: RDA5807P, SSD1306, Conversions | |
*/ | |
/* pinos */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
PCF8583 - Clock and calendar with 240 x 8-bit RAM | |
Autor: Tiago | |
Compilador: MikroC PRO PIC | |
Criado em: 03/11/2014 por Tiago | |
Modificado em: 23/01/2015 | |
- Possibilidade de trabalhar com dois PCF8583 no mesmo barramento | |
*/ | |
/* Endereços disponíveis */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
PROJETO: RTC com PCF8583 | |
MCU: PIC16F628A | |
COMPILADOR: MikroC PRO PIC | |
AUTOR: Tiago | |
Bibliotecas Utilizadas: PCF8583, Conversions, Eeprom, LCD, Software_I2C | |
Criado em: 03/11/2014 | |
Modificado em: 23/01/2015 | |
- Adicionado o endereço do dispositivo | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Bootloader USB HID para microcontroladores PIC18F4550 e PIC18F2550 | |
Clock: 48MHz ( ? MHz + PLL ativado ) | |
Compilador: MikroC PRO PIC | |
Autor: Tiago | |
Blog: microcontrolandos.blogspot.com.br | |
*/ | |
#include <Built_in.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SSD1306 - Display monocromático OLED 128x64 | |
Autor: Tiago | |
Compilador: MikroC PRO PIC | |
Criado em: 26/12/2014 por Tiago | |
*/ | |
/* Fundamental Command */ | |
#define SSD1306_SETCONTRAST 0x81 | |
#define SSD1306_ENTIREDISPLAYON_RESUME 0xA4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Compilador: MikroC PRO PIC | |
Autor: Tiago | |
Blog: microcontrolandos.blogspot.com.br | |
Bibliotecas Utilizadas: SSD1306, Soft_I2C | |
*/ | |
/* Pinos */ | |
sbit Soft_I2C_Sda at PORTB.B0; | |
sbit Soft_I2C_Scl at PORTB.B1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Projeto: Timer utilizando o PIC16F628A e display LCD | |
Autor: Tiago | |
Compilador: MikroC PRO PIC | |
Clock: INTOSC 4MHz | |
Blibliotecas Utilizadas: LCD | |
Criado em: 29/12/12 por Tiago | |
Modificado em: 22/01/15 por Tiago | |
- Adicionado pisca-pisca do caracter ':' no display LCD | |
- Alterado e movido o código que decrementa os segundos e minutos para a rotina de interrupção |
OlderNewer