[riot-devel] RIOT and Peripherals

Ilias Seitanidis iliasseitanidis at gmail.com
Fri Oct 7 12:58:54 CEST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20161007/e785cb22/attachment.html>


More information about the devel mailing list