Skip to content

Instantly share code, notes, and snippets.

View giljr's full-sized avatar
💭
Full Stack Developer with a degree in Computer Engineering.

Gilberto Oliveira Jr giljr

💭
Full Stack Developer with a degree in Computer Engineering.
View GitHub Profile
/* Project: Unit 12 - HLVD
Code: unit_12_01_helloWorldHLVD.c
Objective: This shows how HLVD works;)
Every time the power goes out we save the 7-SEG count in eeprom
and as soon as the power recovers, we retrieve the last count value
and present this old value back to 7-SEG.
Timer 0 Interruptions note: The 7-SEG scan is driven by TMR0
Fuse Config Note: Go to Menu > Edit Project > Brown-on Reset > desabled
/* Project: Unit 12 - HLVD
Code: unit_12_00_helloWorldHLVD.c
Objective: This shows how HLVD works;)
Every time the power goes out we save the LEDs count in eeprom
and as soon as the power recovers, we retrieve the last count value
and continue counting from the point we stopped counting.
Fuse Config Note: Go to Menu > Edit Project > Brown-on Reset > desabled
Lib Config Note: Enable EEPROM Lib at Library Manager Tab
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using easyUSBHidNetClass;
/* Project: Unit 15 - USB
Code: unit_15_01_USB Intro.c
Objective: This program uses the Visual Basic language and mikroC Language
to run an USB Bus Library Functions in a PIC18F4550 chip:)
Author: microgenios, edited by J3
PIC Lessons: How to Start to Program PIC 18 - Step-by-step for Beginners!
/* Project: Ardu_Series # 88
Binary Counter - Logic Analyzer - Building an LED Binary Counter & Improving The Code
INO file: _88_logicCounter_Extensible_8bits_04.ino
Binary Counter.
Description: With 8xLEDs we can display binary numbers from 0 to 255;
This code consomes just 982 bytes (3% of program storage space)
and Global variables use 26 bytes (1%) of dynamic memory:)
/* Project: Ardu_Series # 88
* Binary Counter - Logic Analyzer - Building an LED Binary Counter & Improving The Code
*
* INO file: _88_logicCounter_Extensible_4bits_03.ino
*
* Binary Counter.
*
* Description: With 4xLEDs we can display binary numbers from 0 to 15;
This code consomes just 2326 bytes (3% of program storage space)
and Global variables use 26 bytes (1%) of dynamic memory:)
/* Project: Ardu_Series # 88
* Binary Counter - Logic Analyzer - Building an LED Binary Counter & Improving The Code
*
* INO file: _88_logicCounter_PaulMcWhorter_4bits_02.ino
*
* Date: Dez 2019
*
* Code by: http://www.toptechboy.com/
* Hardware by: Paul McWhorter
*
/* Project: Ardu_Series # 88
* Binary Counter - Logic Analyzer - Building an LED Binary Counter & Improving The Code
*
* INO file: _88_logicCounter_PaulMcWhorter_4bits_01.ino
*
* Date: Dez 2019
*
* Code by: http://www.toptechboy.com/
* Hardware by: Paul McWhorter
*
/* Project: Ardu_Series # 88
* Binary Counter - Logic Analyzer - Building an LED Binary Counter & Improving The Code
*
* INO file: _88_logicCounter_PaulMcWhorter_4bits_00.ino
*
* Date: Dez 2019
*
* Code by: http://www.toptechboy.com/
* Hardware by: Paul McWhorter
*
/*
* Project name:
I2C_Simple (Simple test of I2C library routines)
unit_14_i2c_simple_eco.c
* Copyright:
(c) Mikroelektronika, 2011.
* Revision History:
20191216:
- initial release (J3);
* Description: