Skip to content

Instantly share code, notes, and snippets.

❤️
Flutter

Tiago tiagohm

❤️
Flutter
Block or report user

Report or block tiagohm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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
Created Mar 23, 2018
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
*/
// INICIO DA BIBLIOTECA
@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
Created Mar 3, 2018
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 / MCP41XXX.c
Created Mar 1, 2018
Potenciometro Digital de 256 posições e 1 canal.
View MCP41XXX.c
/*
MCP41XXX - Potenciometro Digital de 256 posições e 1 canal.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Soft_SPI
*/
//Pinos do MCP41XXX.
View avr_pullups.c
void main() {
//Define o pino PB0 como saída para o LED.
DDRB.B0 = 1;
//Define o pino PB1 como entrada para o botão.
DDRB.B1 = 0;
//Habilita o resistor de pull-up do pino PB1.
PORTB.B1 = 1;
while(1) {
@tiagohm
tiagohm / AD5206.c
Last active Mar 1, 2018
Potenciômetro digital de 6 canais.
View AD5206.c
/*
AD5206 - Potenciometro Digital de 6 canais.
Autor: Tiago Melo
Blog: Microcontrolandos
Compilador: MikroC PRO PIC
Bibliotecas: Soft_SPI
*/
//Pinos do AD5206.
You can’t perform that action at this time.