Tech Video Clips
Programming: Converting the ADC Result to a Num...
The formula that converts the ADC value to inches of Hg (using the slope intercept formula): inches of HG = -0.0377(ADC_Value) + 35.5134The portion of the program that pertains to...
Programming: Converting the ADC Result to a Num...
The formula that converts the ADC value to inches of Hg (using the slope intercept formula): inches of HG = -0.0377(ADC_Value) + 35.5134The portion of the program that pertains to...
Programming: Converting Binary Numbers to Hexad...
If you have a binary number and you need to convert that binary number to a hexadecimal number, all you need to do is separate the binary numbers into 4-bit...
Programming: Converting Binary Numbers to Hexad...
If you have a binary number and you need to convert that binary number to a hexadecimal number, all you need to do is separate the binary numbers into 4-bit...
Programming: Converting a Type to Another Type ...
If there is a variable that is of a specific type and another type is desired, that variable can be cast the desired type.For example: If you have an integer...
Programming: Converting a Type to Another Type ...
If there is a variable that is of a specific type and another type is desired, that variable can be cast the desired type.For example: If you have an integer...
Programming: Controlling a Pin Using an ADC Value
The LED is connected to pin 0 on PORTD which is controlled by values from the ADC. The LED is actually representing a vacuum pump, so when the pressure sensor...
Programming: Controlling a Pin Using an ADC Value
The LED is connected to pin 0 on PORTD which is controlled by values from the ADC. The LED is actually representing a vacuum pump, so when the pressure sensor...
Programming: Conditional Statement Example
An example of a conditional statement if (condition){ do this code } else { do this code}. This particular conditional statement is meant to be used for a button press.
Programming: Conditional Statement Example
An example of a conditional statement if (condition){ do this code } else { do this code}. This particular conditional statement is meant to be used for a button press.
Programming: Combining Multiple Or Bitwise Oper...
Multiple bitwise operations can be expressed in a single line. This is an example of taking two Or bitwise operations that were on two lines and combined into one line.
Programming: Combining Multiple Or Bitwise Oper...
Multiple bitwise operations can be expressed in a single line. This is an example of taking two Or bitwise operations that were on two lines and combined into one line.