added hardware stuff and logo

This commit is contained in:
Rosia E Evans 2023-02-21 13:12:39 +00:00
parent 15122854d4
commit b9c77b6f48
5 changed files with 46165 additions and 0 deletions

View file

@ -0,0 +1,45 @@
#include <HardwareSerial.h>
const int led = 2;
const int enablePin = 15;
const int txPin = 17; // needs changing
const int rxPin = 16; // needs changing
HardwareSerial GPSSerial(1);
void setup() {
pinMode(led, OUTPUT);
pinMode(enablePin, OUTPUT);
GPSSerial.begin(4800, SERIAL_8N1, rxPin, txPin);
// turn on GPS
digitalWrite(enablePin, HIGH);
Serial.begin(115200);
GPSSerial.setTimeout(1000);
}
void loop() {
confirmTest();
forwardGPSOutput();
//GPSSerial.print("$PSRF103,0,1,01,0");
}
void forwardGPSOutput()
{
if (GPSSerial.available() > 0)
{
Serial.print("Data from GPS: ");
Serial.println(GPSSerial.readString()); // this seems to hang, no timeout??
}
}
void confirmTest()
{
digitalWrite(2, HIGH);
delay(1000);
digitalWrite(2, LOW);
delay(1000);
Serial.println("yo");
}

View file

@ -0,0 +1,14 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Example OpenOCD configuration file for ESP32-WROVER-KIT board.
#
# For example, OpenOCD can be started for ESP32 debugging on
#
# openocd -f board/esp32-wrover-kit-3.3v.cfg
#
# Source the JTAG interface configuration file
source [find interface/ftdi/esp32_devkitj_v1.cfg]
set ESP32_FLASH_VOLTAGE 3.3
# Source the ESP32 configuration file
source [find target/esp32.cfg]

View file

@ -0,0 +1,19 @@
{
"name":"Arduino on ESP32",
"toolchainPrefix":"xtensa-esp32-elf",
"svdFile":"esp32.svd",
"request":"attach",
"postAttachCommands":[
"set remote hardware-watchpoint-limit 2",
"monitor reset halt",
"monitor gdb_sync",
"thb setup",
"c"
],
"overrideRestartCommands":[
"monitor reset halt",
"monitor gdb_sync",
"thb setup",
"c"
]
}

46087
ESP32/GPS_Test_Code/esp32.svd Normal file

File diff suppressed because it is too large Load diff

BIN
Logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB