Search found 5 matches
- Mon Jul 31, 2017 11:44 am
- Forum: ESP32 Arduino
- Topic: Serial port issue
- Replies: 2
- Views: 7251
Serial port issue
Hi, I'm trying to use the HardwareSerial library for UART comms. I get an error within the void loop() that says that 'Serial1 was not declared in this scope'. Also will I be able to use the standard arduino serial library functions with this serial port after it is configured? (such as Serial1.read...
- Wed Jul 26, 2017 12:36 pm
- Forum: General Discussion
- Topic: UART pattern detect interrupt
- Replies: 2
- Views: 9048
Re: UART pattern detect interrupt
Hi samsam, have you got any code I could look at for this implementation you've used?
- Wed Jul 26, 2017 12:35 pm
- Forum: General Discussion
- Topic: UART interrupt to trigger buffer read on character pattern detection
- Replies: 2
- Views: 8399
Re: UART interrupt to trigger buffer read on character pattern detection
See reply on my most recent query - viewtopic.php?f=2&t=2534 I don't think it's actually implementable live time at the moment, you have to incorporate another buffer
- Mon Jul 24, 2017 3:40 pm
- Forum: General Discussion
- Topic: UART pattern detect interrupt
- Replies: 2
- Views: 9048
UART pattern detect interrupt
I have a stream of ASCII based NMEA sentences (each ending in 'LF') feeding into one UART and I would like to split them up and print them out to another UART. I am using the uart_enable_pattern_det() function to try and achieve this. My program is detecting all the 'LF' characters but upon detectio...
- Wed Jul 19, 2017 9:43 am
- Forum: General Discussion
- Topic: UART interrupt to trigger buffer read on character pattern detection
- Replies: 2
- Views: 8399
UART interrupt to trigger buffer read on character pattern detection
Hello! I have adapted the uart example code found here - https://github.com/espressif/esp-idf/blob/v2.0/examples/peripherals/uart/main/uart_test.c in the form shown below. I am looking to read the UART buffer in ONLY upon the recognition of the 'LF' (line feed) closing character than comes with ever...