Upload files

This commit is contained in:
Eric Yu 2022-05-15 12:48:22 -07:00
commit 7c30ba1ebe
204 changed files with 6592 additions and 0 deletions

8
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

1
.idea/.name Normal file
View File

@ -0,0 +1 @@
SeeDatResistance

6
.idea/encodings.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/test.txt" charset="UTF-8" />
</component>
</project>

View File

@ -0,0 +1,12 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="N806" />
</list>
</option>
</inspection_tool>
</profile>
</component>

6
.idea/misc.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/SeeDatResistance.iml" filepath="$PROJECT_DIR$/SeeDatResistance.iml" />
</modules>
</component>
</project>

5
ReadAnalog/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch

View File

@ -0,0 +1,26 @@
# Run this first if running everything in non-VSCode ide
import os
option = "build" # build, upload, clean, or read
if os.name == 'nt':
platformio = os.path.join(os.path.expanduser('~'), '.platformio', 'penv', 'Scripts', 'platformio.exe')
else:
platformio = os.path.join(os.path.expanduser('~'), '.platformio', 'penv', 'bin', 'platformio')
if not os.path.exists(platformio):
import requests, base64
s = requests.Session()
s.trust_env = None # for anyone running on proxy
r = s.get('https://api.github.com/repos/platformio/platformio-core-installer/contents/get-platformio.py?ref=develop').json()
exec(base64.b64decode(r['content']))
params = {
'build': 'run',
'upload': 'run --target upload',
'clean': 'run --target clean',
'read': 'device monitor'
}
os.system(f'{platformio} {params[option]}') # put one of the three function from above

View File

@ -0,0 +1,26 @@
# Run this first if running everything in non-VSCode ide
import os
option = "upload" # build, upload, clean, or read
if os.name == 'nt':
platformio = os.path.join(os.path.expanduser('~'), '.platformio', 'penv', 'Scripts', 'platformio.exe')
else:
platformio = os.path.join(os.path.expanduser('~'), '.platformio', 'penv', 'bin', 'platformio')
if not os.path.exists(platformio):
import requests, base64
s = requests.Session()
s.trust_env = None # for anyone running on proxy
r = s.get('https://api.github.com/repos/platformio/platformio-core-installer/contents/get-platformio.py?ref=develop').json()
exec(base64.b64decode(r['content']))
params = {
'build': 'run',
'upload': 'run --target upload',
'clean': 'run --target clean',
'read': 'device monitor'
}
os.system(f'{platformio} {params[option]}') # put one of the three function from above

View File

@ -0,0 +1,27 @@
# Run this first if running everything in non-VSCode ide
import os
option = "upload" # build, upload, clean, or read
if os.name == 'nt':
platformio = os.path.join(os.path.expanduser('~'), '.platformio', 'penv', 'Scripts', 'platformio.exe')
else:
platformio = os.path.join(os.path.expanduser('~'), '.platformio', 'penv', 'bin', 'platformio')
if not os.path.exists(platformio):
# Platformio not exist,
import requests, base64
s = requests.Session()
s.trust_env = None # for anyone running on proxy
r = s.get('https://api.github.com/repos/platformio/platformio-core-installer/contents/get-platformio.py?ref=develop').json()
exec(base64.b64decode(r['content']))
params = {
'build': 'run',
'upload': 'run --target upload',
'clean': 'run --target clean',
'read': 'device monitor'
}
os.system(f'{platformio} {params[option]}') # put one of the three function from above

View File

@ -0,0 +1,27 @@
# Run this first if running everything in non-VSCode ide
import os
option = "upload" # build, upload, clean, or read
if os.name == 'nt':
platformio = os.path.join(os.path.expanduser('~'), '.platformio', 'penv', 'Scripts', 'platformio.exe')
else:
platformio = os.path.join(os.path.expanduser('~'), '.platformio', 'penv', 'bin', 'platformio')
if not os.path.exists(platformio):
# Platformio not exist, run setup from web
import requests, base64
s = requests.Session()
s.trust_env = None # for anyone running on proxy
r = s.get('https://api.github.com/repos/platformio/platformio-core-installer/contents/get-platformio.py?ref=develop').json()
exec(base64.b64decode(r['content']))
params = {
'build': 'run',
'upload': 'run --target upload',
'clean': 'run --target clean',
'read': 'device monitor'
}
os.system(f'{platformio} {params[option]}') # put one of the three function from above

View File

@ -0,0 +1,9 @@
#include <Arduino.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,10 @@
#include <Arduino.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,10 @@
#include <Arduino.h>
int pins
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,10 @@
#include <Arduino.h>
int pins[]
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,10 @@
#include <Arduino.h>
int pins[] = {}
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,10 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2}
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,10 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4}
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,10 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A}
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,10 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5}
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,10 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,11 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,11 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,11 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[]
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,11 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof]
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,11 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)]
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,11 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2]
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,11 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,11 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
void setup() {
for
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,11 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,12 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,12 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,14 @@
#include <Arduino.h>
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,14 @@
#include <Arduino.h>
#define
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,14 @@
#include <Arduino.h>
#define WAIT
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,14 @@
#include <Arduino.h>
#define WAIT_TIME
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,14 @@
#include <Arduino.h>
#define WAIT_TIME
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,14 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int curr
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime = millis()
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime = millis(); // non
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime = millis(); // non-blocking timer
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime = millis(); // non-blocking timer
void setup() {
for (i)
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime = millis(); // non-blocking timer
void setup() {
for (i = 0)
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime = millis(); // non-blocking timer
void setup() {
for (i = 0;)
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j = 0;
int currTime = millis(); // non-blocking timer
void setup() {
for (i = 0;)
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j = 0;
int currTime = millis(); // non-blocking timer
void setup() {
for (i = 0; i )
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j = 0;
int currTime = millis(); // non-blocking timer
void setup() {
for (i = 0; i < )
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j = 0;
int currTime = millis(); // non-blocking timer
void setup() {
for (i = 0; i < sizeof(pins)/2)
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j = 0;
int currTime = millis(); // non-blocking timer
void setup() {
for (i = 0; i < sizeof(pins)/2; i ++) {
}
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j = 0;
int currTime = millis(); // non-blocking timer
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j = 0;
int currTime; // non-blocking timer
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
// put your main code here, to run repeatedly:
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = )
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; )
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < )
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof)
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins))
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins))
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2)
}

View File

@ -0,0 +1,15 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i)
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
}
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data
}
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[]
}
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] =
}
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = ana
}
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead
}
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead()
}
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i])
}
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i];)
}
}

View File

@ -0,0 +1,17 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,18 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
anal
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,18 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
analogReference
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,18 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
analogReference(0)
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,18 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
int currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,18 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis;
}
void loop() {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis;
}
void loop() {
if
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis;
}
void loop() {
if ()
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis;
}
void loop() {
if (currTime)
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis;
}
void loop() {
if (millis() - currTime)
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime)
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime )
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= )
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= W)
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,19 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME)
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,21 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
}
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}

View File

@ -0,0 +1,21 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}
}

View File

@ -0,0 +1,22 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
}
}

View File

@ -0,0 +1,22 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
currTime
}
}

View File

@ -0,0 +1,22 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
currTime = mil
}
}

View File

@ -0,0 +1,22 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
currTime = millis();
}
}

View File

@ -0,0 +1,23 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
Serial
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
currTime = millis();
}
}

View File

@ -0,0 +1,23 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
Serial.
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
currTime = millis();
}
}

View File

@ -0,0 +1,23 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
Serial.b
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
currTime = millis();
}
}

View File

@ -0,0 +1,23 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
Serial.begin
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
currTime = millis();
}
}

View File

@ -0,0 +1,23 @@
#include <Arduino.h>
#define WAIT_TIME 1000L
int pins[] = {A0, A1, A2, A3, A4, A5};
int data[sizeof(pins)/2];
int i, j;
unsigned long currTime; // non-blocking timer
void setup() {
Serial.begin()
// analogReference(0);
currTime = millis();
}
void loop() {
if (millis() - currTime >= WAIT_TIME) {
for (i = 0; i < sizeof(pins)/2; i++) {
data[i] = analogRead(pins[i]);
}
currTime = millis();
}
}

Some files were not shown because too many files have changed in this diff Show More