Search found 42 matches

by Cellie
Sat Apr 07, 2018 8:52 pm
Forum: ESP32 Arduino
Topic: Compiler does not report space taken by big char arrays??
Replies: 13
Views: 20499

Re: Compiler does not report space taken by big char arrays??

I just tried this: char filbuff1[86410]; char filbuff2[86410]; void setup() { // put your setup code here, to run once: filbuff1[0]=0; filbuff2[0]=0; } void loop() { // put your main code here, to run repeatedly: } Which gives: region `dram0_0_seg' overflowed by 68512 bytes Which basically means not...
by Cellie
Sat Apr 07, 2018 8:46 pm
Forum: ESP32 Arduino
Topic: Compiler does not report space taken by big char arrays??
Replies: 13
Views: 20499

Re: Compiler does not report space taken by big char arrays??

I just compiled this test: static char filbuff1[86410]; void setup() { // put your setup code here, to run once: filbuff1[0]=0; } void loop() { // put your main code here, to run repeatedly: } Which gives: Global variables use 10888 bytes (3%) of dynamic memory, leaving 284024 bytes for local variab...
by Cellie
Sat Apr 07, 2018 8:20 pm
Forum: ESP32 Arduino
Topic: Compiler does not report space taken by big char arrays??
Replies: 13
Views: 20499

Re: Compiler does not report space taken by big char arrays??

If you declared them in a function, they are not counted as 'Global variables' but are 'Local variables'. Global declaration: char filbuff1[86410]; void setup() { // put your setup code here, to run once: filbuff1[0]=0; } void loop() { // put your main code here, to run repeatedly: } Gives: Global v...
by Cellie
Sat Apr 07, 2018 7:02 am
Forum: ESP32 Arduino
Topic: Newbie in need of a little help (DS18B20)
Replies: 12
Views: 16323

Re: Newbie in need of a little help (DS18B20)

and you still need a free pin to feed your sensors.
Yeah, you are right, what was I thinking when I made that post?
No idea...
by Cellie
Fri Apr 06, 2018 2:49 pm
Forum: ESP32 Arduino
Topic: Newbie in need of a little help (DS18B20)
Replies: 12
Views: 16323

Re: Newbie in need of a little help (DS18B20)

You can have the sensors do their conversions one at a time
Yes, that is of course a possibility.

I did not mention that as it adds to code complexity and you still need a free pin to feed your sensors.
by Cellie
Wed Apr 04, 2018 8:42 am
Forum: ESP32 Arduino
Topic: Newbie in need of a little help (DS18B20)
Replies: 12
Views: 16323

Re: Newbie in need of a little help (DS18B20)

To be fair, there were some OneWire issues some time ago. I am using DS18B20 sensors for some of my projects for the last years and the issue mainly was that 'some' transactions went 'bad' as in the checksum was not valid. These transactions ( I had a rate of about 1 in 50 transactions going bad, de...
by Cellie
Tue Apr 03, 2018 7:25 am
Forum: ESP-IDF
Topic: high precision timer
Replies: 3
Views: 6780

Re: high precision timer

I recently stumbled upon this repo:
https://github.com/botofancalin/M5Stack ... cilloscope
Might find some info there.
by Cellie
Tue Apr 03, 2018 6:56 am
Forum: ESP32 Arduino
Topic: Newbie in need of a little help (DS18B20)
Replies: 12
Views: 16323

Re: Newbie in need of a little help (DS18B20)

A power supply problem? Are you using parasitic power? Feeding all that sensors from a ESP32 pin?
I use 3 DS18B20 sensors in a project, fed by dedicated power, and they keep running, well forever.
... then ALL sensors goes blank.
Blank means what exactly?
by Cellie
Sun Apr 01, 2018 6:24 pm
Forum: ESP32 Arduino
Topic: ( Solved - help wanted ) Want to include GitHub tag/version into project.
Replies: 3
Views: 5892

Re: Want to include GitHub tag/version into project.

Thanks Neil! EDIT: These scripts work for Linux only. If anyone could port these scripts to Windows and/or OSX and post them in this thread it would be greatly appreciated. /EDIT I now got it working like I want it. The script has become 2 scripts. One for flashing, let's call that one flash.sh : ec...
by Cellie
Sun Apr 01, 2018 4:23 pm
Forum: ESP32 Arduino
Topic: ( Solved - help wanted ) Want to include GitHub tag/version into project.
Replies: 3
Views: 5892

Re: Want to include GitHub tag/version into project.

After consulting a well known search engine I got this thrown together: rm version.h echo -n 'const char * sketchVersion "' > version.h git --no-pager describe --tags --always --dirty>>version.h echo -n '";' >> version.h which is basically what I want, but produces this output: const char * sketchVe...