Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
chad cormier roussel
@chadouming
i'm on pc xD
Me No Dev
@me-no-dev
i have debug enabled in preferences
chad cormier roussel
@chadouming
ah, didn't have the upload debug nabled
Me No Dev
@me-no-dev
it usually shows a bunch of dots while flashing
Ivan Grokhotkov
@igrr
you have a scope now... can you take a look at uart?
works fine for me on a Mac...
Me No Dev
@me-no-dev
maybe it's something else
i killed all esptool processes that were hanging
and restarted the IDE
now hangs before the esptool debug
the last line is the execution command
if I unplug the uart it errors fine
will do old fashioned reboot
update nagges from a few days now anyways
brb
Ivan Grokhotkov
@igrr
re extra 38365 bytes:
accidentally added .bss to the regex
recipe.size.regex=^(?:.irom0.text|.text|.data|.rodata|.bss|)\s+([0-9]+).*
chad cormier roussel
@chadouming
yay, i'm not crazy :D
Me No Dev
@me-no-dev
reboot fixed the flashing issue
Me No Dev
@me-no-dev
same thing again
and I have an unkillable esptool
Russ Mathis
@RussMathis
@ficeto, the esp goes in the fishing bob/cork and wakes via a spring loaded weight when the fish bites?
Michael Miller
@Makuna
Servo library Pull out for review, supports the new Timer0 and the already present Timer1, based on the Servo library that comes with Arduino
chad cormier roussel
@chadouming
Wifi enabled fishing, brilliant :D
chad cormier roussel
@chadouming
Since i've started trying to get my esp crashing, it won't -_-'
Ivan Grokhotkov
@igrr
@chadouming try analogWrite
chad cormier roussel
@chadouming
Lol
I want it to be crashing while running my program
chad cormier roussel
@chadouming
well, the good news is that my battery seems to not drain at all with deep sleep
which is a good thing
now, that it doesnt crash, that is sad
Me No Dev
@me-no-dev
having this really strange issue here with analogRead
here is my dead simple sketch
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
Adafruit_SSD1306 lcd(-1);

void setup() {
  Serial.begin(74880);
  Serial.setDebugOutput(true);
  lcd.begin(SSD1306_SWITCHCAPVCC, 0x3C);
  Wire.setClock(400000);
  lcd.display();
  delay(1000);
}

uint32_t turn = 0;

void loop() {
  uint32_t heap = ESP.getFreeHeap();
  uint16_t analog = analogRead(A0);
  lcd.clearDisplay();
  lcd.setTextSize(2);
  lcd.setTextColor(WHITE);
  lcd.setCursor(0,0);
  lcd.print("RAM:");
  lcd.println(heap);
  lcd.print("A0: ");
  lcd.println(analog);
  lcd.print("TURN: ");
  lcd.println(turn++);
  lcd.display();
  delay(1000);
}
I do not have any WiFi calls here
but as soon as the settings that are already in get the WiFi to connect
i get wdt reset
if I remove analogRead(A0)
the sketch runs fine
Me No Dev
@me-no-dev
disabing WiFi on boot helped
so I guess calling it while WiFi is connecting yields reset
Russ Mathis
@RussMathis
To everyone, VisualMicro has new update today May 30.
VisualMicro update fixed intelisense. Yhea!
Me No Dev
@me-no-dev
found the problem with the new SDK and analogWrite
timer1 interrupt can not be cleared
which has nothing to do with the SDK
so why is this happening?
Michael Miller
@Makuna
@RussMathis I have found visual micro fails to smartly rebuild when I modify a library, to the point that I have to remember to always hit red build all to even get it too work.
@me-no-dev what do you mean by timer not being cleared? It fires only once du to not clearing the pending field? Or that it continues to fire even though you have called disable?