migrated to ESP32 C3 Super Mini
haha migrated again... remeber me hating on the "schmoll schiet?" lmaooo using 3 times smaller now
This commit is contained in:
parent
694a9de82b
commit
54bc072e20
@ -18,7 +18,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
#define INPUT_PIN 14 //VIN PIN FOR GEIGER COUNTER
|
|
||||||
|
#define INPUT_PIN 10 //VIN PIN FOR GEIGER COUNTER
|
||||||
#define MEASUREMENT_TIME_MS 60000 //MINUTE
|
#define MEASUREMENT_TIME_MS 60000 //MINUTE
|
||||||
|
|
||||||
std::list<unsigned long> counts; //COUNTS IN LAST MINUTE (OR MEASUREMENT_TIME_MS IF MODIFIED)
|
std::list<unsigned long> counts; //COUNTS IN LAST MINUTE (OR MEASUREMENT_TIME_MS IF MODIFIED)
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
board="esp32:esp32:esp32"
|
board="esp32:esp32:esp32c3"
|
||||||
port="/dev/ttyUSB0"
|
port="/dev/ttyACM0"
|
||||||
baudrate="9600"
|
baudrate="9600"
|
||||||
|
|
||||||
arduino-cli monitor -b $board -p $port -c $baudrate
|
arduino-cli monitor -b $board -p $port -c $baudrate --timestamp
|
||||||
|
2
setup.sh
2
setup.sh
@ -17,4 +17,4 @@
|
|||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
arduino-cli core update-index
|
arduino-cli core update-index
|
||||||
arduino-cli core install --additional-urls https://dl.espressif.com/dl/package_esp32_index.json esp32:esp32
|
arduino-cli core install --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json esp32:esp32
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
board="esp32:esp32:esp32"
|
board="esp32:esp32:esp32c3"
|
||||||
port="/dev/ttyUSB0"
|
port="/dev/ttyACM0"
|
||||||
|
|
||||||
arduino-cli compile -b $board -p $port $(pwd | rev | cut -d "/" -f 1 | rev).ino
|
arduino-cli compile -b $board -p $port $(pwd | rev | cut -d "/" -f 1 | rev).ino
|
||||||
arduino-cli upload -b $board -p $port $(pwd | rev | cut -d "/" -f 1 | rev).ino
|
arduino-cli upload -b $board -p $port $(pwd | rev | cut -d "/" -f 1 | rev).ino
|
||||||
|
Loading…
x
Reference in New Issue
Block a user