Search found 8 matches

by khalil_dz
Fri Feb 08, 2019 2:58 pm
Forum: ESP32 Arduino
Topic: pwm with compare mode ?
Replies: 0
Views: 2420

pwm with compare mode ?

hi all
is it possible to create a pwm by comparison as the method of "Output compare mode",we use Timer capture/compare.
by khalil_dz
Wed Jan 30, 2019 12:08 am
Forum: ESP32 Arduino
Topic: Speed ​​of serial communication
Replies: 0
Views: 3316

Speed ​​of serial communication

Hi all 1-I am looking for a function or method faster than the function (Serial.readStringUntil ('\ r') or Serial.parseInt ()). I think two functions took a long time(+6ms) for receiver (4 int) same time. The program I used int m_1,m_2,m_3,m_4; //// m=[1000 2000] String inString = ""; void setup() {...
by khalil_dz
Sun Jan 20, 2019 3:16 pm
Forum: ESP32 Arduino
Topic: How to synchronize the serial port of ESP32 Dual Core
Replies: 4
Views: 6546

Re: How to synchronize the serial port of ESP32 Dual Core

thank you for the answer.
I use Xbee for transmission
the function that I used (in reception Serial.readStringUntil('\r')

the problem:

prog loop time (5ms) insufficient for transmission (6 Int variables) and reception (4 Int variables) on a core, it can not process this data in a loop <5 ms.
by khalil_dz
Sat Jan 19, 2019 10:32 pm
Forum: ESP32 Arduino
Topic: How to synchronize the serial port of ESP32 Dual Core
Replies: 4
Views: 6546

Re: How to synchronize the serial port of ESP32 Dual Core

Tx and Rx same speed( baud rate).
insufficient loop time (4 ms)for transmitted (6 Int variable) and receive (4 Int variable) in a Core.
can we share the communication between two core, core==>reception, core==>transmission with synchronization.
by khalil_dz
Wed Jan 16, 2019 1:56 am
Forum: ESP32 Arduino
Topic: How to synchronize the serial port of ESP32 Dual Core
Replies: 4
Views: 6546

How to synchronize the serial port of ESP32 Dual Core

I have a serial communication problem, because a core does not support transmitting (TX) and receiving (RX) 5 variable in bouck time at 4ms / 5ms.
Is it possible to do two port synchronization serial1> (RX) in core1 and port serial2> (TX) in core 2.
thanck.
by khalil_dz
Wed Dec 26, 2018 12:23 am
Forum: ESP32 Arduino
Topic: how To use the LEDC/PWM functions
Replies: 3
Views: 5099

Re: how To use the LEDC/PWM functions

thanks a lot ;) krzychb
by khalil_dz
Tue Dec 25, 2018 5:52 pm
Forum: ESP32 Arduino
Topic: how To use the LEDC/PWM functions
Replies: 3
Views: 5099

Re: how To use the LEDC/PWM functions

  1. thanks a lot ;)  krzychb
by khalil_dz
Sat Dec 22, 2018 11:06 pm
Forum: ESP32 Arduino
Topic: how To use the LEDC/PWM functions
Replies: 3
Views: 5099

how To use the LEDC/PWM functions

can we use the function "" ledc_timer_config() "" on arduino ;because the function" ledcSetup " does not give access for the timer choice (timer1, .... or speed_mode).
I want to generate 4 pwm per timer.
can you help me .