The sample rate is relativity slow. a 25 position average at 1/10 second sample rate is going to lag quite a lot.
Looks like you've got a 12Bit ADC. The volts per bit are going to be small. ...
Type: Posts; User: ekiller200
The sample rate is relativity slow. a 25 position average at 1/10 second sample rate is going to lag quite a lot.
Looks like you've got a 12Bit ADC. The volts per bit are going to be small. ...
Your issue is here:
if(test == "...")
can't use the == comparison operator on strings...
It is setting up a 2-Dimensional Array.
In this case, an array of 6 elements, where each element has up to 8 charters.
Ok, I think a figured a solution that will work..
first I enumerate the fields that I will be replacing
enum list{foobar1,foobar2,foobar3};
then in my code I use a switch like this:
I need to output a file from a template, with the variables of the template replaced with variables store in a large struct in my program.
Each line of the template file will have a placeholder...