Skip to content

Instantly share code, notes, and snippets.

🐨
❤️

Tiago tiagohm

🐨
❤️
View GitHub Profile
@tiagohm
tiagohm / LM35.c
Created May 16, 2020
Termômetro com saída analógica
View LM35.c
/*
LM35 - Sensor de temperatura.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: ADC, Conversions, C_String, Lcd, Lcd_Constants
*/
// Pinos do LCD.
@tiagohm
tiagohm / LCD_1WIRE_74HC595.c
Last active May 15, 2020
LCD utilizando apenas 1 fio através do 74HC595
View LCD_1WIRE_74HC595.c
/*
LCD 1-WIRE com 74HC595.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Lcd_Constants, Conversions, C_String
*/
sbit RomanLCD_Data at RB0_bit;
@tiagohm
tiagohm / 74HC595.c
Created May 14, 2020
Registrador de deslocamento de 8 bits
View 74HC595.c
/*
74HC595 - Registrador de Deslocamento
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas:
*/
// Pinos do 74HC595 ligados ao PIC.
sbit SR74HC595_Data at RB1_bit;
@tiagohm
tiagohm / docker.sh
Created Jul 11, 2019
Docker - Comandos
View docker.sh
# Comandos Úteis
# Editar o servico docker sobrescrevendo-o
sudo systemctl edit docker
sudo systemctl daemon-reload
sudo service docker restart
# Listar o processo docker
ps aux | grep docker | grep -v grep
@tiagohm
tiagohm / timer_p16f628a_7seg.c
Last active Mar 24, 2018
Timer com PIC16F628A e Display de 7 Segmentos.
View timer_p16f628a_7seg.c
/*
Timer com PIC16F628A e Display de 7 Segmentos.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas:
*/
//Botões
@tiagohm
tiagohm / LCD595.c
Last active May 15, 2020
LCD com 74HC595
View LCD595.c
/*
LCD595 - LCD com 74HC595.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Lcd_Constants, Conversions, C_String
*/
// Pinos ligados do 74HC595 ligados ao PIC.
sbit LCD595_Data at GP2_bit;
@tiagohm
tiagohm / MCP4922.c
Created Mar 11, 2018
Conversor Digital-Analógico de 12 bits e 2 canais.
View MCP4922.c
/*
MCP4922 - Conversor Digital-Analógico de 12-bits e 2 canais.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Soft_SPI
*/
//Pinos do MCP4922.
@tiagohm
tiagohm / MCP3201.c
Created Mar 9, 2018
Conversor Analógico/Digital de 12-bits.
View MCP3201.c
/*
MCP3201 - Conversor Analógico/Digital de 12-bits.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: LCD, Lcd_Constants, Conversions, C_String
*/
//Pinos do MCP3201.
View SSD1306.c
/*
SSD1306 - Display monocromático OLED 128x64
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Soft_I2C
*/
/* Fundamental Command */
@tiagohm
tiagohm / TC1047A.c
Last active May 14, 2020
Sensor de Temperatura.
View TC1047A.c
/*
TC1047A - Sensor de temperatura.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: ADC, Lcd, Lcd_Constants, Conversions, C_String
*/
// Pinos do LCD.
You can’t perform that action at this time.