Tech Video Clips
Programming: If Condition Testing a Variable Ag...
Sometimes a condition will need to exist that tests a variable against a binary number. This is how to do this using the == operator.Example: if (receiveData == 0b11110000) PORTB...
Programming: If Condition Testing a Variable Ag...
Sometimes a condition will need to exist that tests a variable against a binary number. This is how to do this using the == operator.Example: if (receiveData == 0b11110000) PORTB...
Programming: For Loop Explained
A for loop is constructed to move an x in every LCD position.for (init; condition; increment) { Code that will be run in the loop } In this case: for...
Programming: For Loop Explained
A for loop is constructed to move an x in every LCD position.for (init; condition; increment) { Code that will be run in the loop } In this case: for...
Programming: Fixing the UART/USART Baud Rate Fo...
The section of the UART/USART initialization for determining the baud rate had an error. The error pertained to first not containing the product of 16 and baud so the F_CPU...
Programming: Fixing the UART/USART Baud Rate Fo...
The section of the UART/USART initialization for determining the baud rate had an error. The error pertained to first not containing the product of 16 and baud so the F_CPU...
Programming: Fast PWM (Pulse Width Modulation) ...
The interrupts library must be included. The OCIE1A (Output Compare Interrupt Enable) is set in the TIMSK1 (Timer mask) register to enable the interrupts for the timer/counter when the ICR...
Programming: Fast PWM (Pulse Width Modulation) ...
The interrupts library must be included. The OCIE1A (Output Compare Interrupt Enable) is set in the TIMSK1 (Timer mask) register to enable the interrupts for the timer/counter when the ICR...
Programming: Enhancing the LCD Program to Send ...
The enhancement that is made to the program is to send a string of characters to the LCD in one function rather than sending one character at a time.
Programming: Enhancing the LCD Program to Send ...
The enhancement that is made to the program is to send a string of characters to the LCD in one function rather than sending one character at a time.
Programming: Enabling the Receive and Transmit ...
The the TX and RX pins will be used for communication and not for the general purpose I/O that exists at those pins, then the TX and RX need to...
Programming: Enabling the Receive and Transmit ...
The the TX and RX pins will be used for communication and not for the general purpose I/O that exists at those pins, then the TX and RX need to...
Programming: Enabling Global Interrupts AVR
Enabling global interrupts must be done to allow the interrupt functions to work.
Programming: Enabling Global Interrupts AVR
Enabling global interrupts must be done to allow the interrupt functions to work.
Programming: Enabling the ADC feature - ADEN in...
Enabling the ADC feature: ADEN - ADC Enable must be set in the ADCSRA register for the AVR Microcontroller
Programming: Enabling the ADC feature - ADEN in...
Enabling the ADC feature: ADEN - ADC Enable must be set in the ADCSRA register for the AVR Microcontroller
Programming: Enabling Interrupts (Library and G...
To enable interrupts, a library (header file) must be included:#include avr/interrupt.h In the main function (before the endless loop) the global interrupt command must be invoked: sei();
Programming: Enabling Interrupts (Library and G...
To enable interrupts, a library (header file) must be included:#include avr/interrupt.h In the main function (before the endless loop) the global interrupt command must be invoked: sei();
Programming: Displaying Simple Characters to th...
The AVR microcontroller is programmed to show simple characters on the LCD (Liquid Crystal Display). The pin functions are defined so the microcontroller can easily access these pins with an...
Programming: Displaying Simple Characters to th...
The AVR microcontroller is programmed to show simple characters on the LCD (Liquid Crystal Display). The pin functions are defined so the microcontroller can easily access these pins with an...
Programming: Displaying Labels on the LCD using...
Adding a label to the LCD is simply sending a string of data to the LCD. The Send_A_StringToMrLCDWithLocation(x, y, string) is the function that we will use that is part...
Programming: Displaying Labels on the LCD using...
Adding a label to the LCD is simply sending a string of data to the LCD. The Send_A_StringToMrLCDWithLocation(x, y, string) is the function that we will use that is part...
Programming: Declaring an Array with Initialize...
When an array is declared, it can also be initialized at the point of declaration. The braces are used to initialize each array value:type variable[array dimension] {values]; Example: int myArray[4]...
Programming: Declaring an Array with Initialize...
When an array is declared, it can also be initialized at the point of declaration. The braces are used to initialize each array value:type variable[array dimension] {values]; Example: int myArray[4]...
Programming: Declaring Multiple Variable with t...
If multiple variables need to be declared and they are of the same type and they need to be initialized with the same value, this can be done in a...
Programming: Declaring Multiple Variable with t...
If multiple variables need to be declared and they are of the same type and they need to be initialized with the same value, this can be done in a...
Programming: Creating the LCD Initialization Fu...
The commands that are required to be able to use the LCD are put into an initialization function. Commands that are required for the LCD use is: - Setting the...
Programming: Creating the LCD Initialization Fu...
The commands that are required to be able to use the LCD are put into an initialization function. Commands that are required for the LCD use is: - Setting the...
Programming: Creating the LCD Initialization Fu...
The commands that are required to be able to use the LCD are put into an initialization function. Commands that are required for the LCD use is: - Setting the...
Programming: Creating the LCD Initialization Fu...
The commands that are required to be able to use the LCD are put into an initialization function. Commands that are required for the LCD use is: - Setting the...
Programming: Creating the Function of GotoLocat...
A prototype and function is created to put the cursor on the LCD to any location on the display.Initial Row First Position Locations: char firstColumnPositionsForMrLCD[4] = {0, 64, 20, 84};...
Programming: Creating the Function of GotoLocat...
A prototype and function is created to put the cursor on the LCD to any location on the display.Initial Row First Position Locations: char firstColumnPositionsForMrLCD[4] = {0, 64, 20, 84};...
Programming: Creating Prototypes for Functions ...
Why are prototypes needed. Prototypes are used for the compiler to know in advance the functions that will be used before the functions are defined. It allows the programmer to...
Programming: Creating Prototypes for Functions ...
Why are prototypes needed. Prototypes are used for the compiler to know in advance the functions that will be used before the functions are defined. It allows the programmer to...
Programming: Creating a Push Button Library
A push button library is created from code written previously to test for button presses and releases and includes software debouncing (debounce). Atmel Studio 6 was used in this video....
Programming: Creating a Push Button Library
A push button library is created from code written previously to test for button presses and releases and includes software debouncing (debounce). Atmel Studio 6 was used in this video....
Programming: Creating an Include File in Atmel ...
An include file is a library file that contains code that you wish to include in the current program. On the main menu at the top, click on 'file' and...
Programming: Creating an Include File in Atmel ...
An include file is a library file that contains code that you wish to include in the current program. On the main menu at the top, click on 'file' and...
Programming: Creating a New File in Programmer'...
How to create a new file in Programmers Notepad.
Programming: Creating a New File in Programmer'...
How to create a new file in Programmers Notepad.
Programming: Creating an Array Variable
An variable array is a variable that can hold more than one value of the specified type. The number of values is represented within a set of brackets []. The...
Programming: Creating an Array Variable
An variable array is a variable that can hold more than one value of the specified type. The number of values is represented within a set of brackets []. The...
Programming: Creating a Library (Header and .C ...
Libraries are files containing code that can be used to extend the functionality of a program. In C and C++, these libraries are stored in header files and .C files....
Programming: Creating a Library (Header and .C ...
Libraries are files containing code that can be used to extend the functionality of a program. In C and C++, these libraries are stored in header files and .C files....
Programming: Creating a Library (All Code in He...
Libraries are files containing code that can be used to extend the functionality of a program. In C and C++, these libraries are stored in header files and .C files....
Programming: Creating a Library (All Code in He...
Libraries are files containing code that can be used to extend the functionality of a program. In C and C++, these libraries are stored in header files and .C files....
Programming: Creating a Global Variable (Example)
A global variable is just a variable that is not withing a function. The scope of a variable relates to where the variable is placed in the program. If a...
Programming: Creating a Global Variable (Example)
A global variable is just a variable that is not withing a function. The scope of a variable relates to where the variable is placed in the program. If a...