Search found 75 matches

by rin67630
Fri May 22, 2020 9:36 am
Forum: ESP32 Arduino
Topic: Porting basic code to ESP32
Replies: 4
Views: 278

Re: Porting basic code to ESP32

My glass ball needs a repair.

Please define "can't get it to work".
What did you do?
What did you expect?
What did you get instead?
by rin67630
Fri May 22, 2020 8:18 am
Forum: ESP32 Arduino
Topic: Best NTP-Time library for ESP32?
Replies: 13
Views: 15478

Re: Best NTP-Time library for ESP32?

... The best library, I find, is timelib.h, the latest version is (seems to be!) by Paul Stoffregen ... I strongly disagree. Been there, done that... The Arduino timelib.h has been written for a blank Arduino and bases on millis() only. A kind of bare metal time library that is not even fully POSIX...
by rin67630
Sat May 16, 2020 8:09 am
Forum: ESP32 Arduino
Topic: Wanted: BLE low power example
Replies: 1
Views: 219

Re: Wanted: BLE low power example

If you use the Arduino IDE, you have got the examples in File/Examples/ Examples for ESP32/ESP32 BLE Arduino...

(at their logical place, by the way)
by rin67630
Fri May 01, 2020 3:27 am
Forum: ESP32 Arduino
Topic: That is a somewhat curious forum here...
Replies: 8
Views: 875

Re: That is a somewhat curious forum here...

Thank you, but what can I do with this information? esp_err_t esp_wifi_set_ps(WIFI_PS_MAX_MODEM); returns an error from the library: 'WIFI_PS_MAX_MODEM' was not declared in this scope. Does that mean that the library under ...\Arduino\Hardware\espressif\esp32\libraries\WiFi just makes no use of the ...
by rin67630
Thu Apr 30, 2020 10:05 pm
Forum: ESP32 Arduino
Topic: SimpleTime ...and then?
Replies: 3
Views: 818

Re: SimpleTime ...and then?

Thank you for replying I have currently 2 routines: I have slightly modified the routines; void reConnect() { WiFi.mode(WIFI_STA); WiFi.begin(); while (WiFi.status() != WL_CONNECTED) { delay(10); } } void disConnect() { // WiFi.disconnect(); //temporarily disconnect WiFi as it's no longer needed Wi...
by rin67630
Thu Apr 30, 2020 8:45 pm
Forum: ESP32 Arduino
Topic: That is a somewhat curious forum here...
Replies: 8
Views: 875

Re: That is a somewhat curious forum here...

Most questions in here can be answered by using a simple Google search... Most questions, maybe... But I could not find anything useful about the concrete syntax to enter into modem sleep, NOT light sleep, NOT deep sleep that are documented here https://docs.espressif.com/projects/esp-idf/en/latest...
by rin67630
Thu Apr 30, 2020 7:07 pm
Forum: ESP32 Arduino
Topic: SimpleTime ...and then?
Replies: 3
Views: 818

Re: SimpleTime ...and then?

Thank you for replying I have currently 2 routines: void disConnect() { // WiFi.disconnect(); //disconnect WiFi as it's no longer needed (this appear to remove the credentials) WiFi.mode(WIFI_OFF); btStop(); } void reConnect() { WiFi.mode(WIFI_AP); WiFi.begin(); delay(15); } When I run disConnect();...
by rin67630
Wed Apr 29, 2020 9:22 pm
Forum: ESP32 Arduino
Topic: That is a somewhat curious forum here...
Replies: 8
Views: 875

That is a somewhat curious forum here...

The ratio views / answers is less than 1%.
by rin67630
Tue Apr 28, 2020 9:53 pm
Forum: Sample Code
Topic: Sinus Signal Generator from 18Hz to 250kHz
Replies: 8
Views: 10372

Re: Sinus Signal Generator from 18Hz to 250kHz

You want to get a blazing fast sinus & cosinus generation without a lot of code?

Try that:
void setup() {
int X=0;
int Y=1000;
}

void loop() {
y1 = y1 - x1 / 16;
x1 = x1 + y1 / 16;
}

Unbelievable, but it generates a very nice and blazing fast sinus and cosinus on x and y!

Enjoy!
by rin67630
Tue Apr 28, 2020 9:35 pm
Forum: ESP32 Arduino
Topic: Arduino IDE code to enter and exit Modem sleep.
Replies: 0
Views: 689

Arduino IDE code to enter and exit Modem sleep.

Hi, sorry to bother you, but I need some help. Call me stupid, but I just could not find any clear instructions on how to do that simple thing: enter and exit modem sleep for less than 1 second? I have been searching for hundreds of sites which all mainly go directly into light sleep or digressing p...

Go to advanced search