Skip to content

Instantly share code, notes, and snippets.

Avatar

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 / 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 / TH02.c
Last active May 15, 2020
Sensor de umidade e temperatura
View TH02.c
/*
TH02 - Sensor de umidade e temperatura.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Soft_I2C, Lcd, Lcd_Constants, Conversions, C_String
*/
// Pinos do TH02.
@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.
@tiagohm
tiagohm / DS1631.c
Last active May 14, 2020
Termômetro e termostato digital.
View DS1631.c
/*
DS1631 - Termômetro e Termostato.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Conversions, C_String, Lcd, Lcd_Constants, Soft_I2C
*/
//Pinos do LCD.
@tiagohm
tiagohm / AD5206.c
Last active May 14, 2020
Potenciômetro digital de 6 canais.
View AD5206.c
/*
AD5206 - Potenciômetro Digital de 6 canais.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Soft_SPI
*/
// Pinos do AD5206 conectados ao PIC.
@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 / E25xx320.c
Last active May 13, 2020
Memória EEPROM de 32Kb da Microchip.
View E25xx320.c
/*
25XX320 - Memoria EEPROM SPI 32Kb
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Soft_SPI
*/
// Pinos do 25AA320.
@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
You can’t perform that action at this time.