migrated to Wemos D1 R2
the schmoll schiet caused way too much pain
This commit is contained in:
parent
054309857d
commit
694a9de82b
@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#include <list>
|
||||
|
||||
#define INPUT_PIN D6 //VIN PIN FOR GEIGER COUNTER
|
||||
#define INPUT_PIN 14 //VIN PIN FOR GEIGER COUNTER
|
||||
#define MEASUREMENT_TIME_MS 60000 //MINUTE
|
||||
|
||||
std::list<unsigned long> counts; //COUNTS IN LAST MINUTE (OR MEASUREMENT_TIME_MS IF MODIFIED)
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
board="esp8266:esp8266:nodemcuv2"
|
||||
# This is part of RadiationMapping
|
||||
# Copyright (C) 2024 Václav Šmejkal
|
||||
|
||||
@ -17,6 +16,7 @@ board="esp8266:esp8266:nodemcuv2"
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
board="esp32:esp32:esp32"
|
||||
port="/dev/ttyUSB0"
|
||||
baudrate="9600"
|
||||
|
||||
|
2
setup.sh
2
setup.sh
@ -17,4 +17,4 @@
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
arduino-cli core update-index
|
||||
arduino-cli core install --additional-urls http://arduino.esp8266.com/stable/package_esp8266com_index.json esp8266:ESP8266
|
||||
arduino-cli core install --additional-urls https://dl.espressif.com/dl/package_esp32_index.json esp32:esp32
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
board="esp8266:esp8266:nodemcuv2"
|
||||
# This is part of RadiationMapping
|
||||
# Copyright (C) 2024 Václav Šmejkal
|
||||
|
||||
@ -17,6 +16,7 @@ board="esp8266:esp8266:nodemcuv2"
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
board="esp32:esp32:esp32"
|
||||
port="/dev/ttyUSB0"
|
||||
|
||||
arduino-cli compile -b $board -p $port $(pwd | rev | cut -d "/" -f 1 | rev).ino
|
||||
|
Loading…
x
Reference in New Issue
Block a user