don't read I2C outside of clockgen

pico-i2c-isr
alanbjohnston 3 years ago committed by GitHub
parent 75adbf4814
commit c59fc5e431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,6 +63,8 @@ Adafruit_SI5351 clockgen = Adafruit_SI5351();
unsigned long micros3;
volatile i2c_busy_now = false;
//WiFiServer server(port);
//WiFiClient client;
@ -210,9 +212,9 @@ void loop() {
generate_simulated_telem();
else
// query INA219 sensors and Payload sensors
read_ina219();
; // read_ina219();
read_payload();
// read_payload();
// encode as digits (APRS or CW mode) or binary (DUV FSK)
if ((mode == BPSK) || (mode == FSK)) {

Loading…
Cancel
Save

Powered by TurnKey Linux.