Pergunta de entrevista da empresa Bosch

What would you do if you have two programs run simultaneously by communicating with two esp32, how would you sync it togehter.