Search found 250 matches

by MJU20
Tue Apr 09, 2024 6:33 pm
Forum: Bug Reports
Topic: ESP32 RTC: date when using UTC offset
Replies: 3
Views: 1289

Re: ESP32 RTC: date when using UTC offset

Sometimes 3600, sometimes 7200.
This is because of DST
by MJU20
Tue Apr 09, 2024 5:09 pm
Forum: Bug Reports
Topic: ESP32 RTC: date when using UTC offset
Replies: 3
Views: 1289

Re: ESP32 RTC: date when using UTC offset

Is this right?
by MJU20
Thu Mar 28, 2024 11:19 pm
Forum: General
Topic: ESP32 Toolchain.
Replies: 2
Views: 1220

Re: ESP32 Toolchain.

I recently went back to V4.3xx because of issues with V5.x. The reason that most of my projects didn't compile "a-okay", was because of the Bluetooth that wasn't initialised. With that knowledge, my projects compile ok at the moment. I am hesitant to reinstall version 5 because of all the significan...
by MJU20
Wed Mar 27, 2024 11:12 pm
Forum: Bug Reports
Topic: ESP32 RTC: date when using UTC offset
Replies: 3
Views: 1289

ESP32 RTC: date when using UTC offset

Is it a bug or a feature? :) When using the RTC from the ESP32 component: shouldn't this update the date accordingly to the chosen offset in the UTC setting? Now the time is updated to the offset in the component properties (or like in my case: the RTC_ESP32_NTP: SetUTCOffset component macro), but t...
by MJU20
Mon Mar 25, 2024 5:17 pm
Forum: General
Topic: RTC_ESP32_NTP returns a byte with "GetYear"?
Replies: 2
Views: 1048

Re: RTC_ESP32_NTP returns a byte with "GetYear"?

Thanks BenR,

Some things didn't work until I found out why.
It was because the macro returns a byte.

Maybe this could solve issues other users have..
by MJU20
Sat Mar 23, 2024 11:40 pm
Forum: General
Topic: RTC_ESP32_NTP returns a byte with "GetYear"?
Replies: 2
Views: 1048

RTC_ESP32_NTP returns a byte with "GetYear"?

RTC_ESP32_NTP returns a byte with "GetYear"... https://www.flowcode.co.uk/wiki/index.php?title=Component:_Real_Time_Clock_(ESP32)_(Real_Time_Clock)#GetYear Isn't that odd? The NTP protocol returns a 4 digit for the year. Off course there is no way that the NTP will return a number in the past, but f...
by MJU20
Mon Mar 18, 2024 10:44 pm
Forum: General
Topic: Math help wanted: Zeller congruence
Replies: 4
Views: 413

Re: Math help wanted: Zeller congruence

@Both: Thanks for your reaction! @chipfryer27 the example is my "disassembled" version of the Zeller congruence. I've tried it in one calculation but this returned not always a good result. That is why I decided to make the calculation again but step-by-step. I can not figure out why this sometimes ...
by MJU20
Sun Mar 17, 2024 11:58 pm
Forum: General
Topic: Math help wanted: Zeller congruence
Replies: 4
Views: 413

Math help wanted: Zeller congruence

I'm trying to get an ESP32 to calculate Zeller's congruence. This calculates a number that represents the weekday for a certain date. https://en.wikipedia.org/wiki/Zeller%27s_congruence I have tried several methods for calculation but it doesn't always return the right number. In this example I have...
by MJU20
Sun Mar 17, 2024 5:32 pm
Forum: Feature Requests
Topic: Few sugestions :D
Replies: 1
Views: 373

Few sugestions :D

A few nice features would be: 1- It would be convenient if the corresponding parentheses in a mathematical formula were assigned a unique color. Like in Excel it is easily to see which parentheses belong to each other, easy to find the opening and closing ones. 2- When stopping a Run in Debug, the f...
by MJU20
Fri Mar 15, 2024 5:00 pm
Forum: Feature Requests
Topic: Ternary operator in calculation block?
Replies: 7
Views: 575

Re: Ternary operator in calculation block?

Thanks guys for this input. The trick from mnfisher I will remember, together with the remark that "false is zero and true might be any value not zero".. As a non programmer readability is necessary for me, so I mostly use <>. Flowcode is a nice program to not need to read code so the simpeler it ge...