Search found 238 matches

by MJU20
Thu Mar 28, 2024 11:19 pm
Forum: General
Topic: ESP32 Toolchain.
Replies: 2
Views: 44

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: 0
Views: 11

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: 67

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: 67

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: 108

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: 108

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: 41

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: 116

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...
by MJU20
Thu Mar 14, 2024 10:29 pm
Forum: Feature Requests
Topic: Ternary operator in calculation block?
Replies: 7
Views: 116

Ternary operator in calculation block?

Ternary operator in calculation block?
Wouldn't that be a hoot?

Code: Select all

val2 = (val1 < 20)?3:2
https://en.wikipedia.org/wiki/Ternary_c ... l_operator
by MJU20
Mon Mar 11, 2024 5:29 pm
Forum: Bug Reports
Topic: ESP Wlan compile error
Replies: 3
Views: 91

Re: ESP Wlan compile error

Thanks BenR, this was the case...

I never enabled the Bluetooth in the menuconfig so this must be a default setting?

This also means that in one project we can never use BT and Wifi at the same time?

Thanks for the quick solution.
Maybe spread the word about this error?