New Photon user here.
I’m a .net C# developer by trade but am having some trouble finding a starting path for the project described below:
I have a Photon connected to a 2 channel relay board. Relay 1 controls an LED strobe. Relay 2 controls a cse buzzer. The relays will activate at the same time from separate functions and stay active for approximately 30 secs. They will be activated by a single function published to the cloud. Normally I would handle this with background threads to perform the work of manipulating the relays so that the main thread can return a result value to the cloud caller immediately. My problem is that I’m not exactly sure if this translates into embedded code. Any help or guidance would be greatly appreciated!!