From e9a7415ee76485266c171bba1622d6640ab428b9 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Thu, 27 Aug 2015 17:03:39 +0100 Subject: [PATCH] internals.md: Add doc to explain pwm internally is all in us Signed-off-by: Brendan Le Foll --- docs/internals.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/internals.md b/docs/internals.md index db42c1b..a825375 100644 --- a/docs/internals.md +++ b/docs/internals.md @@ -114,6 +114,11 @@ set the pinmapper correctly for uart to work on some platforms. ### pwm ### +Internally everything with PWM in mraa is in microseconds because that's what +the linux kernel uses and is probably all the granularity we'll ever +need/achieve with the kind of hardware we're targetting. Board configuration +pwm max/min values are always set in microseconds. + ### aio ### AIO pins are numbered after GPIO pins. This means that on Arduino style boards -- 2.7.4