diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-10-16 11:05:02 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-10-16 11:05:02 -0400 |
| commit | 2262efc31155cfb498c5ecbfb64be16839cf4641 (patch) | |
| tree | 712feebeea8612b8eb0128f3e09a19eb7f8958e2 /ports/nrf/common-hal/pulseio/PWMOut.c | |
| parent | 8d580933287e712dec9d27cfc0fb988426ff2562 (diff) | |
PulseOut working
Diffstat (limited to 'ports/nrf/common-hal/pulseio/PWMOut.c')
| -rw-r--r-- | ports/nrf/common-hal/pulseio/PWMOut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/nrf/common-hal/pulseio/PWMOut.c b/ports/nrf/common-hal/pulseio/PWMOut.c index 5d94bab79..f321f848d 100644 --- a/ports/nrf/common-hal/pulseio/PWMOut.c +++ b/ports/nrf/common-hal/pulseio/PWMOut.c @@ -3,8 +3,7 @@ * * The MIT License (MIT) * - * Copyright (c) 2017 Scott Shawcroft for Adafruit Industries - * Copyright (c) 2016 Damien P. George + * Copyright (c) 2018 Dan Halbert for Adafruit Industries * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -168,6 +167,7 @@ void common_hal_pulseio_pwmout_construct(pulseio_pwmout_obj_t* self, self->frequency = frequency; self->variable_frequency = variable_frequency; + // Note this is standard, not strong drive. nrf_gpio_cfg_output(self->pin_number); // disable before mapping pin channel |
