This file contains 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
-- CREATE NEW SCHEMA | |
CREATE SCHEMA fields; | |
-- ADD POSTGIS TABLE | |
CREATE TABLE fields.parcelas ( | |
id serial primary key, | |
geom geometry(polygon, 4326), | |
--geom geometry(polygon, 32616), | |
centre_northing decimal, | |
centre_easting decimal, |
This file contains 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 <SoftwareSerial.h> | |
SoftwareSerial mySerial(3, 4); // RX, TX | |
void setup() { | |
// put your setup code here, to run once: | |
mySerial.begin(9600); | |
Serial.begin(9600); | |
pinMode(LED_BUILTIN, OUTPUT); | |
digitalWrite(LED_BUILTIN, LOW); |