migrated to Wemos D1 R2

the schmoll schiet caused way too much pain
This commit is contained in:
Václav Šmejkal 2024-11-14 20:55:35 +01:00
parent 054309857d
commit 694a9de82b
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
4 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <list> #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 #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)

View File

@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
board="esp8266:esp8266:nodemcuv2"
# This is part of RadiationMapping # This is part of RadiationMapping
# Copyright (C) 2024 Václav Šmejkal # 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 # 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"
port="/dev/ttyUSB0" port="/dev/ttyUSB0"
baudrate="9600" baudrate="9600"

View File

@ -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 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

View File

@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
board="esp8266:esp8266:nodemcuv2"
# This is part of RadiationMapping # This is part of RadiationMapping
# Copyright (C) 2024 Václav Šmejkal # 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 # 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"
port="/dev/ttyUSB0" port="/dev/ttyUSB0"
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