HomeSort by relevance Sort by last modified time
    Searched refs:Pwm (Results 1 - 8 of 8) sorted by null

  /hardware/bsp/intel/peripheral/libmraa/examples/java/
CyclePwm3.java 27 import mraa.Pwm;
42 Pwm pwm = new mraa.Pwm(3); local
43 pwm.period_us(200);
44 pwm.enable(true);
49 pwm.write(value);
  /hardware/bsp/intel/peripheral/libupm/src/rgbringcoder/
rgbringcoder.h 33 #include <mraa/pwm.hpp>
50 * @con pwm gpio
58 * The device requires 11 pins, 3 of which must be PWM-capable
79 * @param red RGB red LED PWM
80 * @param green RGB green LED PWM
81 * @param blue RGB blue LED PWM
141 mraa::Pwm m_pwmRed;
142 mraa::Pwm m_pwmGreen;
143 mraa::Pwm m_pwmBlue;
  /hardware/bsp/intel/peripheral/libmraa/src/python/docs/
mraa.rst 26 Pwm
28 .. autoclass:: mraa.Pwm
52 :exclude-members: Gpio, Aio, Uart, Spi, I2c, Pwm, uint8Array, uint8Array_frompointer
example.rst 53 Pwm
56 The PWM module is rather simple, note that different hardware support PWM
  /hardware/bsp/intel/peripheral/libmraa/examples/c++/
Pwm3-cycle.cpp 36 printf("closing PWM nicely\n");
46 mraa::Pwm* pwm; local
48 pwm = new mraa::Pwm(3);
49 if (pwm == NULL) {
52 fprintf(stdout, "Cycling PWM on IO3 (pwm3) \n");
53 pwm->enable(true);
58 pwm->write(value);
64 delete pwm;
    [all...]
  /hardware/bsp/intel/peripheral/libmraa/examples/python/
cycle-pwm3.py 28 x = mraa.Pwm(3)
  /hardware/bsp/intel/peripheral/libmraa/api/mraa/
pwm.hpp 27 #include "pwm.h"
37 * This file defines the PWM interface for libmraa
41 class Pwm
45 * instanciates a PWM object on a pin
53 Pwm(int pin, bool owner = true, int chipid = -1)
62 throw std::invalid_argument("Error initialising PWM on pin");
70 * Pwm destructor
72 ~Pwm()
104 * Set the PWM period as seconds represented in a float
170 * Set the enable status of the PWM pin. None zero will assume on wit
    [all...]
  /hardware/bsp/intel/peripheral/libupm/src/stepmotor/
stepmotor.h 31 #include <mraa/pwm.hpp>
48 * @ingroup seeed sparkfun pwm gpio motor
58 * @con pwm gpio
75 * @param stePin Stepper pulse PWM pin
116 mraa::Pwm m_pwmStepContext;

Completed in 1154 milliseconds