Part 4. Using a button - Embedded C Programming with PIC18F14K50

Published: 02 February 2023
on channel: CircuitBread
3,196
93

In our last embedded C tutorial, we showed how to use the GPIOs as an output using the PIC18F14K50. In this tutorial, we discuss how to use the GPIOs as an input as well, using a button to toggle an LED on and off. Josh goes over the hardware setup and then discusses the different portions of the code that controls the inputs and outputs. He then wraps things up by showing the circuit in action and he tests out the debounce delay for the button. With this series on the PIC18F14K50, we hope you enjoy this microcontroller tutorial using Microchip's PIC as an example!

This is the video tutorial for the more detailed written tutorial by Sergey, which you can find here: https://www.circuitbread.com/tutorial...

0:00 Introduction
0:40 Reviewing the schematic diagram
2:51 Adding the PICKit 4 to your project
4:01 Review of firmware
11:27 Programming and testing
12:34 Project summary and homework
13:38 The toast will never pop up

For electronics tools, tutorials, equations and more check out our site: https://www.circuitbread.com
And check out our Friends of CircuitBread, who offer special discounts, product samples, resources and more to our users: https://www.circuitbread.com/friends

CircuitBread is joining the fight to help people more easily learn about and use electronics. With an ever-growing array of equations, tools, and tutorials, we're striving for the best ways to make electronics and electrical engineering topics more accessible to everyone.

Connect with CircuitBread:
Discord ➤   / discord  
Instagram ➤   / circuitbread  
Facebook ➤   / circuitbread  
Twitter ➤   / circuitbread  


Watch video Part 4. Using a button - Embedded C Programming with PIC18F14K50 online without registration, duration hours minute second in high quality. This video was added by user CircuitBread 02 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,19 once and liked it 9 people.