Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
unsigned char ADCSamples[100]; << make this unsigned int if you use two bytes to store the result
unsigned char SampleCount;
for(SampleCount = 0; SampleCount < 100; SampleCount++)
{
ADCSamples[SampleCount] = ADC_Read(channel);
}
unsigned char ADCSamples[100]; << make this unsigned int if you use two bytes to store the result
ADCSamples[SampleCount] = ADC_Read(channel);
Code C - [expand] 1 2 3 4 5 6 7 unsigned char ADCSamples[100]; << make this unsigned int if you use two bytes to store the result unsigned char SampleCount; for(SampleCount = 0; SampleCount < 100; SampleCount++) { ADCSamples[SampleCount] = ADC_Read(channel); }