@stas2z
simple sketch is working well
but i dont know why my sketch is not working serial1.flush
maybe it stuck in rotary encoder routin..
i will find failure and post the solution
thank you soo much
Search found 8 matches
- Sat May 02, 2020 6:02 pm
- Forum: General discussion
- Topic: Wait Serial1 transmission to complete CODE
- Replies: 19
- Views: 13256
- Sat May 02, 2020 4:42 pm
- Forum: General discussion
- Topic: Wait Serial1 transmission to complete CODE
- Replies: 19
- Views: 13256
Re: Wait Serial1 transmission to complete CODE
---------------
- Sat May 02, 2020 3:09 pm
- Forum: General discussion
- Topic: Wait Serial1 transmission to complete CODE
- Replies: 19
- Views: 13256
Re: Wait Serial1 transmission to complete CODE
i tried serial.flush is working
but serial1.flush not working
code stuck and i cant upload new code from ide until unplug connection (turn off the board power)
but serial1.flush not working
code stuck and i cant upload new code from ide until unplug connection (turn off the board power)
- Sat May 02, 2020 2:48 pm
- Forum: General discussion
- Topic: Wait Serial1 transmission to complete CODE
- Replies: 19
- Views: 13256
Re: Wait Serial1 transmission to complete CODE
i did a project on arduino mega which they are communicate with other boards on rs485. i have one arduino mega which is connected to pc via ethernet. its getting some variables and delivering other modules via rs485. i used stm32f103 (bluepill) and getting messages well. but it cant send messages on...
- Sat May 02, 2020 1:44 pm
- Forum: General discussion
- Topic: Wait Serial1 transmission to complete CODE
- Replies: 19
- Views: 13256
Re: Wait Serial1 transmission to complete CODE
so if two cores are same why serial.flush command stuck.
i didnt try any other cores.
and also tried delaymicrosecond but no way..
i didnt try any other cores.
and also tried delaymicrosecond but no way..
- Sat May 02, 2020 1:04 pm
- Forum: General discussion
- Topic: Wait Serial1 transmission to complete CODE
- Replies: 19
- Views: 13256
Re: Wait Serial1 transmission to complete CODE
---------------
- Sat May 02, 2020 11:32 am
- Forum: General discussion
- Topic: Wait Serial1 transmission to complete CODE
- Replies: 19
- Views: 13256
Re: Wait Serial1 transmission to complete CODE
I tried but not working and also code stucked on Serial1.flush();
- Fri May 01, 2020 10:54 pm
- Forum: General discussion
- Topic: Wait Serial1 transmission to complete CODE
- Replies: 19
- Views: 13256
Wait Serial1 transmission to complete CODE
Hi I am using rs485 protocol to communicate other modules on Arduino Mega. But STM32F103 (bluepill+bootloader), i cant send any serial1 message. i am getting messages well. This is my Arduino Mega working code: digitalWrite(enablePin, HIGH); //high signal to send data Serial1.println("message&q...