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 01 - IO
Code: unit_01_04_pushAndIncrementCounter.c
Objective: While pressing RB0's button we increment a counter and
the LED's attached on RD<7:0> will lighting in a serie:);
One button control eight LEDs; Note there is a flow control; AWESOME:)
In this project 8 LEDs are connected to PORTD and 8 buttons are on PORTB
of PIC18F4520 uC, running under 8 MHZ crystal
(on microgenios board set sw1 dip = 9, LEDs on PORTD);
/* Project: Unit 01 - IO
Code: unit_01_03_pushAndBlinkAndDebounce.c
Objective: Blinking LED attached on PORTD's Pin 0; Now we're using flag variables to control
the flow on/off LED:) while pressing a button on PORTB's Pin 0 (Momentary button);
In this project 8 LEDs are connected to PORTD and 8 buttons are on PORTB
of PIC18F4520 uC, running under 8 MHZ crystal (set sw1 dip = 9, LEDs on PORTD);
Author: microgenios, edited by J3
/* Project: Unit 01 - IO
Code: unit_01_02_pushAndBlinkAnLED.c
Objective: This project we're blinking an LED attached on PORTD's reg. bit 0
while pressing a button on PORTB's reg. bit 0 (Momentary button);
8 LEDs are connected to PORTD & 8 buttons are on PORTB of PIC18F4520 uC,
running under 8 MHZ crystal (set sw1 dip = 9, LEDs on PORTD);
Author: microgenios, edited by J3
/* Project: Unit 01 - IO
Code: unit_01_01_blinkingLED.c
Objective: Let's blink an LED on PORTD's bit 0 and config Button on PORTB's bit 0
as input (KEY) for future implementation :)
In my board 8 LEDs are connected to PORTD and 8 buttons are on PORTB
of PIC18F4520 uC, running under 8 MHZ crystal (set sw1 dip = 9, LEDs on PORTD);
Author: microgenios, edited by J3
PIC Lessons: How to Start to Program PIC 18 - Step-by-step for Beginners!
Hardware: Development Boards (OPTIONS):
/* Project: LEGO Episode # 29
Bridging All Sensors Together — Pitbot
Collecting All Codes for the Final Act of Giving Behaviors to Robot
INO File: _29_VNH2SP30_MosterMoto_Test_01.ino
MonsterMoto Shield Example Sketch
date: 5/24/11
code by: Jim Lindblom
hardware by: Nate Bernstein
SparkFun Electronics
/* Project: LEGO Episode # 29
* Bridging All Sensors Together — Pitbot
* Collecting All Codes for the Final Act of Giving Behaviors to Robot
*
* Sharp IR Sensor -  0A41SK 
* 4–30cm Infrared IR Distance Measuring Sensor
*
* INO file: _29_Sharp_Distance_Sensor_01.ino
*
* date: 9/01/19
/* Project: LEGO Episode # 29
* Bridging All Sensors Together — Pitbot
* Collecting All Codes for the Final Act of Giving Behaviors to Robot
*
* INO file: _29_HC-SR04_SimpleTest_01.ino
*
* date: 9/01/19
*
* code by: https://forum.arduino.cc
* hardware by: Arduino IDE 1.8.9
/* Project: — LEGO Episode # 29
Bridging All Sensors Together — Pitbot
Collecting All Codes for the Final Act of Giving Behaviors to Robot
INO file: _29_YL70_4_Ch_Line_Tracker_demo_01.ino
date: 9/01/19
code by: Public Domain
hardware by: Walfront
/* Project: LEGO Episode # 29
Bridging All Sensors Together — Pitbot
Collecting All Codes for the Final Act of Giving Behaviors to Robot
INO file: _29_74HC4067_multiplexer_demo_01
date: 9/01/19
code by: Public Domain
Hardware by: YL 70
/* Project: Ardu_Serie # 83
* 74HC4067 — DeMux For Arduino
* A multiplexer of this sort really just acts as a 16 to one 1 switch
*
* INO file: _83_74HC4067_multiplexer_demo_01.ino
*
* date: 8/30/19
*
* code by: https://tronixstuff.com
* hardware by: Ghttps://pt.aliexpress.com/wholesale?catId=0&initiative_id=SB_20190830133819&isPremium=y&SearchText=74HC4067+16-Channel+Analog+&switch_new_app=y