You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SampleWrite in processing serial library problem #1421
Original author: MyrdsNet (November 09, 2012 21:16:01)
The code is the samplewrite example in processing serial library.
What steps will reproduce the problem?
1.running the program
What is the expected output? Response of arduino from processing software must light the LED as expected. What do you see instead? Delay in lighting of led,or flickering of led in the arduino board.
What version of the product are you using? Version 2.0b6, On what operating system? Windows 32bit OS.
Please provide any additional information below.
I tried using the software without the delay and the led lights good.But when else functions are used in the arduino to interface with provessing, Leds flicker.Very unstable output via usb communication.
From MyrdsNet on November 10, 2012 09:31:43
I already was able to fix the flickering of the diode by reorganizing the processing codes. But the DELAY BUG still exists between arduino--processing when the "delay command" is being used in arduino. This is a common problem so if there is anyone who has the solution will be great.
From MyrdsNet on November 10, 2012 21:24:43
I made some tests in the effects of the delay command in arduino to the serial write in processing. A delay of approx. 15 milliseconds and below does not affect the response of arduino and output is normal. Also,I tested the serial read and there was no problems. I tested serial read with other softwares with arduino and everything is normal.
By this, I made an assumption that the serial write command of processing is where the delay bug is lying. Not in the arduino above a 15 millisecond delay.
I hope that the processing developers will be able to fix the bug soon.
From MyrdsNet on November 11, 2012 23:19:26
I found another delay problem. The delay bug does not only do long delays caused by the delay command in arduino. The delay also causes long delays in codes using long repetitive cycles like the while syntax. Also repetitive 15 millisecond delays also adds to the delay in arduino response. So I think the root of the problem lies on the response of arduino from long repetitive cycles usually affecting time duration.
Activity
processing-bugs commentedon Feb 10, 2013
From MyrdsNet on November 10, 2012 09:31:43
I already was able to fix the flickering of the diode by reorganizing the processing codes. But the DELAY BUG still exists between arduino--processing when the "delay command" is being used in arduino. This is a common problem so if there is anyone who has the solution will be great.
processing-bugs commentedon Feb 10, 2013
From MyrdsNet on November 10, 2012 21:24:43
I made some tests in the effects of the delay command in arduino to the serial write in processing. A delay of approx. 15 milliseconds and below does not affect the response of arduino and output is normal. Also,I tested the serial read and there was no problems. I tested serial read with other softwares with arduino and everything is normal.
By this, I made an assumption that the serial write command of processing is where the delay bug is lying. Not in the arduino above a 15 millisecond delay.
I hope that the processing developers will be able to fix the bug soon.
processing-bugs commentedon Feb 10, 2013
From MyrdsNet on November 11, 2012 23:19:26
I found another delay problem. The delay bug does not only do long delays caused by the delay command in arduino. The delay also causes long delays in codes using long repetitive cycles like the while syntax. Also repetitive 15 millisecond delays also adds to the delay in arduino response. So I think the root of the problem lies on the response of arduino from long repetitive cycles usually affecting time duration.
processing-bugs commentedon Feb 10, 2013
From f...@processing.org on November 12, 2012 22:28:14
This isn't a Processing bug, it's an issue with your code which is better handled in the forum.
github-actions commentedon Jun 17, 2021
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.