This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <SPI.h> | |
| #include <SD.h> | |
| #include <Wire.h> | |
| #include <SSD1306.h> | |
| #include <RTClib.h> | |
| #include <WiFi.h> | |
| #include "LoRa.h" | |
| #include <BLEDevice.h> | |
| #include <BLEServer.h> | |
| #include <BLEUtils.h> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | terraform { | |
| required_providers { | |
| aws = { | |
| source = "hashicorp/aws" | |
| version = "5.82.1" | |
| } | |
| } | |
| } | |
| // Used by get the current aws number account. | |
| data "aws_caller_identity" "current" { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <SPI.h> | |
| #include <SD.h> | |
| #include <Wire.h> | |
| #include <SSD1306.h> | |
| #include <RTClib.h> | |
| #include <WiFi.h> | |
| #include "LoRa.h" | |
| #include <BLEDevice.h> | |
| #include <BLEServer.h> | |
| #include <BLEUtils.h> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| * ESP32 AWS IoT Jobs OTA - Arduino IDE | |
| * | |
| * Bibliotecas necessárias (instalar via Library Manager): | |
| * - ArduinoJson by Benoit Blanchon | |
| * | |
| * Board: ESP32 Dev Module | |
| * Partition Scheme: Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS) | |
| */ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <SPI.h> | |
| #include <SD.h> | |
| #include <Wire.h> | |
| #include <SSD1306.h> | |
| #include <RTClib.h> | |
| #include <WiFi.h> | |
| #include "LoRa.h" | |
| #include <BLEDevice.h> | |
| #include <BLEServer.h> | |
| #include <BLEUtils.h> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <SPI.h> | |
| #include <SD.h> | |
| #include <Wire.h> | |
| #include <SSD1306.h> | |
| #include <RTClib.h> | |
| #include <WiFi.h> | |
| #include "LoRa.h" | |
| #include <BLEDevice.h> | |
| #include <BLEServer.h> | |
| #include <BLEUtils.h> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| * Script Simples para Comunicação LoRa | |
| * Heltec ESP32 V2 LoRa - Usando bibliotecas padrão | |
| * Alternativa ao heltec.h para evitar erros de compilação | |
| */ | |
| #include <SPI.h> | |
| #include <U8g2lib.h> | |
| #include "LoRa.h" | |
| #include <BLEDevice.h> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <SPI.h> | |
| #include <SD.h> | |
| #include <Wire.h> | |
| #include <SSD1306.h> | |
| #include <RTClib.h> | |
| #include <BLEDevice.h> | |
| #include <BLEServer.h> | |
| #include <BLEUtils.h> | |
| #include <BLE2902.h> | |
| #include "LoRa.h" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <Wire.h> | |
| #include <RTClib.h> | |
| #include <U8g2lib.h> | |
| // SOLUÇÃO: Display usa Software I2C (bit-bang) | |
| // RTC usa Hardware I2C (Wire) | |
| // Display OLED com Software I2C (não conflita!) | |
| U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, | |
| /* clock=*/ 15, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <U8g2lib.h> | |
| // Display OLED Heltec V2 | |
| U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, 16, 15, 4); | |
| void setup() { | |
| u8g2.begin(); | |
| } | |
| void loop() { | 
NewerOlder