Hi, Thanks Peter, The idea is if the pir detects something, then the speaker will produce a sound, for example for 2 minutes, then a udp message will be sent. I have some questions(as a newbie :) ) : - I didn't find the pwm.c file, maybe someone erased it during a clean up operation? -Is there any example of using the pwm lib? (mostly on the sequence of the function call) - There is a variable dev that points to the speaker device(as mentioned this lib was used with virtual devices), is there a specific integer for one device or it doesn't matter? ( void pwm_set(pwm_t dev, uint8_t channel, uint16_t value); )
-For the pir Library is it mandatory to register as a thread(?), it will be my main thread. I've seen the project of Mr. Nhat Pham, but the main idea is to use the RIOT OS as it is. Thank you in advance! Best regards, Ilias
_______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel