Hi all, I got it.
just need to put the line in Setup function!.
setup {
mySerial2.begin(9600,SERIAL_8N1,5,7);
}
best regards
NewPrasertKitt
Search found 9 matches
- Sun Feb 03, 2019 1:47 pm
- Forum: ESP32 Arduino
- Topic: Heltec wifi kit32, hardware serial
- Replies: 4
- Views: 9962
- Thu Jan 31, 2019 2:48 am
- Forum: ESP32 Arduino
- Topic: Heltec wifi kit32, hardware serial
- Replies: 4
- Views: 9962
Re: Heltec wifi kit32, hardware serial
Hi edje11:thank you for your help,but this Pzem still got error.
mine, version arduino is 1.8.5, what is yours
best regards
newprasertkitt
exit status 1
'Pzemserial' does not name a type
mine, version arduino is 1.8.5, what is yours
best regards
newprasertkitt
exit status 1
'Pzemserial' does not name a type
- Wed Jan 30, 2019 7:12 am
- Forum: ESP32 Arduino
- Topic: Heltec wifi kit32, hardware serial
- Replies: 4
- Views: 9962
Heltec wifi kit32, hardware serial
dear sir, I tried to use UART#2 and relocate RX to pin 5 and TX to pin17. anyway the compiler shows error below. Don't know what is wrong or what to include to code please help. thanks in advance. board: heltec wifi kit32 (esp32 with OLED ) best regards Newprasertkitt HardwareSerial mySerial2(2); my...
- Wed Dec 19, 2018 2:37 pm
- Forum: ESP32 Arduino
- Topic: Help with Rotary Encoder and ESP32 Thing
- Replies: 3
- Views: 11008
Re: Help with Rotary Encoder and ESP32 Thing
Encoder A /CLK wiring to GPIO13
Encoder B /DT wiring to GPIO14
Regards
NewPrasertKitt
Encoder B /DT wiring to GPIO14
Regards
NewPrasertKitt
- Sat Dec 15, 2018 1:39 pm
- Forum: ESP32 Arduino
- Topic: could I to generate 40Mhz pulse on esp32 GPIO
- Replies: 10
- Views: 16069
Re: could I to generate 40Mhz pulse on esp32 GPIO
rudi, krzychb thanks for your help, I use this pulse signal to test osciloscope bandwidth.
best regards
NewPrasertKitt
best regards
NewPrasertKitt
- Sat Dec 15, 2018 8:28 am
- Forum: ESP32 Arduino
- Topic: could I to generate 40Mhz pulse on esp32 GPIO
- Replies: 10
- Views: 16069
Re: could I to generate 40Mhz pulse on esp32 GPIO
hello idahowalker,
could you show me how to code in arduino to direct write GPIO of ESP32. thank you.
best regards
NewPrasertKitt
could you show me how to code in arduino to direct write GPIO of ESP32. thank you.
best regards
NewPrasertKitt
- Sat Dec 15, 2018 6:01 am
- Forum: ESP32 Arduino
- Topic: could I to generate 40Mhz pulse on esp32 GPIO
- Replies: 10
- Views: 16069
Re: could I to generate 40Mhz pulse on esp32 GPIO
Hello rudi, I did try this sample code and reconfig the timer as below timer = timerBegin(0, 2, true); timerAttachInterrupt(timer, &onTimer, true); timerAlarmWrite(timer, 2, true); timerAlarmEnable(timer); I use digitalWrite command to set and reset the GPIO but the pulse output just nothing. How to...
- Fri Dec 07, 2018 12:10 pm
- Forum: ESP32 Arduino
- Topic: could I to generate 40Mhz pulse on esp32 GPIO
- Replies: 10
- Views: 16069
Re: could I to generate 40Mhz pulse on esp32 GPIO
Rudi, thanks for your kindly help. could you tell me how to code these in arduino.
best regards
NewPrasertKitt
best regards
NewPrasertKitt
- Thu Dec 06, 2018 4:27 am
- Forum: ESP32 Arduino
- Topic: could I to generate 40Mhz pulse on esp32 GPIO
- Replies: 10
- Views: 16069
could I to generate 40Mhz pulse on esp32 GPIO
I tried from those codes on Google but seem they doesn't work! Is the esp32 can do that?
best regards
NewPrasertKitt
best regards
NewPrasertKitt