Re: Chat here about Hardware Specific topics
![Post Post](./styles/FLATBOOTS/imageset/icon_post_target.gif)
Hi, i'm having hard time about internet pull-up resistors.
Is there any tested circuit plan with all component values u have?
Is there any tested circuit plan with all component values u have?
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
#include <SoftwareSerial.h>
SoftwareSerial ss(12, 13); // GPS Module’s TX to 12 (D6)& RX to 13 (D7)
void setup(){
Serial.begin(115200);
ss.begin(9600);
}
void loop(){
while (ss.available() > 0){
byte gpsData = ss.read();
Serial.write(gpsData);
}
}
#include "Wire.h"
#include "Adafruit_VL53L0X.h"
#include "Max44009.h"
#include "Adafruit_AS726x.h"
#include <SoftwareSerial.h>
SoftwareSerial ss(12, 13); // GPS Module’s TX to 12 (D6)& RX to 13 (D7)
Adafruit_VL53L0X lox = Adafruit_VL53L0X();//tof
Max44009 myLux(0x4a); //lux address
uint32_t lastDisplay = 0; //lux
//create the object microspectrograph
Adafruit_AS726x ams;
//buffer to hold raw values
uint16_t sensorValues[AS726x_NUM_CHANNELS];
//buffer to hold calibrated values (not used by default in this example)
float calibratedValues[AS726x_NUM_CHANNELS];
void setup() {
Serial.begin(115200);
ss.begin(9600);
}
void loop() {
Serial.println("Ranging data");
tofsensor();
delay(2000);
Serial.println("Light intensity data");
luxsensor();
Serial.println();
delay(2000);
Serial.println("Microspectrograph data");
microspec();
delay(2000);
Serial.println("Location");
location();
delay(2000);
// following this are functions defined as void location()...and so on
}