Tell me the steps to make a 3 device such that: - 2 devices, device b1 and b2, will be…
- User
Tell me the steps to make a 3 device such that:
-
2 devices, device b1 and b2, will be set a few meters apart on the same line
-
The other device, m1, will be on the move. When front of the m1 turns in the direction of the other 2, b1 and b2, b1 and b2 should start beeping
-
When m1 turns away from them, they should stop beeping
-
B1 and B2 should take turns beeping such that when b1 beeps, it should send a signal to b2, and b2 should emit a short beep. It should similarly let b1 know that it should now beep
-
Begin by telling me hardware needed to make this happen
-
Then, write the code for m1, b1 and b2. All code should compile and work as it is, you will be doing all the work.
Begin with the first step, hardware. Do not proceed to next step unless I tell you to continue. Proceed now
-
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.