Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduinos parallel execution is not in sync #476

Closed
rinon13 opened this issue Feb 21, 2023 · 2 comments
Closed

Arduinos parallel execution is not in sync #476

rinon13 opened this issue Feb 21, 2023 · 2 comments
Assignees

Comments

@rinon13
Copy link
Contributor

rinon13 commented Feb 21, 2023

Description: When 2 Arduinos connected to LEDs are executed in parallel with the same .ino code, the LED are not blinking at the same time.

Steps to Reproduce

image

  1. Connect as shown above or take circuit from Gallery (Two Arduinos)
  2. Add .ino code to both Arduinos
void setup(){
	pinMode(LED_BUILTIN, OUTPUT);
}

void loop(){
	digitalWrite(LED_BUILTIN, HIGH);
    delay(1000);
	digitalWrite(LED_BUILTIN, LOW);
    delay(1000);
}
  1. Press "Start Simulation"
  2. LEDs are not blinking in sync

Video of the process mentioned above.
Two_Ardinos_Problem.webm

Expected Behavior: Both LEDs are supposed to be blinking in sync.

Version and OS:

  • OS: Ubuntu 22.04.1 LTS
  • Browser: Firefox 110

Tested on:

  • develop
  • simulation.iitbx.in
@firuza
Copy link
Collaborator

firuza commented Mar 4, 2023

Fixed in #479

1 similar comment
@firuza
Copy link
Collaborator

firuza commented Mar 4, 2023

Fixed in #479

@firuza firuza closed this as completed Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants