aboutsummaryrefslogtreecommitdiff
path: root/stmhal/led.c
AgeCommit message (Expand)Author
2017-09-06ports: Make new ports/ sub-directory and move all ports there.Damien George
2017-08-30all: Convert remaining "mp_uint_t n_args" to "size_t n_args".Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-06-15stmhal: Make error messages more consistent across peripherals.Damien George
2017-05-06stmhal: Convert all module and method tables to use MP_ROM macros.Damien George
2017-03-02stmhal: Use mp_hal_delay_ms instead of HAL_Delay.Damien George
2017-01-04all: Consistently update signatures of .make_new and .call methods.Paul Sokolovsky
2016-12-22stmhal/led: Use mp_hal_pin_config function instead of HAL_GPIO_Init.Damien George
2016-12-22stmhal/led: Properly initialise timer handle to zero before using it.Damien George
2016-10-18stmhal/led: Refactor LED to use mp_hal_pin_output() init function.Damien George
2016-05-13stmhal/led: Allow LEDs to be in PWM mode with TIM1 and channels 1-4.Damien George
2016-01-29stmhal: Add PWM capability for LED(3) and LED(4) on pyboards.Damien George
2016-01-29stmhal: Make TIM3 available for use by the user.Damien George
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
2015-08-03stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable.Damien George
2015-07-30stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H.Dave Hylands
2015-04-18stmhal: Make a HW config option for LED4 being controlled by PWM.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-04-11stmhal: Make LED object print LED(x) for consistency with constructor.Damien George
2015-01-21stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com.Dave Hylands
2015-01-01stmhal: Prefix includes with py/; remove need for -I../py.Damien George
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-20Merge pull request #707 from eblot/master-v1.1.1-build-fixesPaul Sokolovsky
2014-06-19Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot
2014-06-17stmhal: Toggle LED using ODR ^= pin_mask.Damien George
2014-05-03Add license header to (almost) all files.Damien George
2014-05-02unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-04-30stmhal: Make LED.intensity return the same value it was set to.Damien George
2014-04-29stmhal: Add documentation in comments, and script to generate HTML.Damien George
2014-04-26Add ARRAY_SIZE macro, and use it where possible.Damien George
2014-04-20stmhal: Add SPI class.Damien George
2014-04-19stmhal: Rename pyb.Led to pyb.LED to conform to naming rules.Damien George
2014-04-17build: Simplify build directory layout by putting all headers in genhdr.Damien George
2014-04-05py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George
2014-04-02stmhal: Add timer module; move servo PWM from TIM2 to TIM5.Damien George
2014-04-01Fix pyb.Led(n) code to work properly.Dave Hylands
2014-03-30Merge map.h into obj.h.Damien George
2014-03-30Rename rt_* to mp_*.Damien George
2014-03-30stmhal: Unify naming of HW config; make SD detect configurable.Damien George
2014-03-30stmhal: Implement selector for USB device mode; improve boot up.Damien George
2014-03-26stmhal: Use rt_check_nargs to check number of arguments.Damien George
2014-03-26Remove mp_obj_type_t.methods entry and use .locals_dict instead.Damien George
2014-03-26Change mp_method_t.name from const char * to qstr.Damien George
2014-03-24stmhal: Make Led, Servo and Accel their class, not a function.Damien George
2014-03-23stmhal: Improve LED intensity get/set method.Damien George
2014-03-22stmhal: Add intensity method for blue LED.Damien George
2014-03-20stmhal: Add accelerometer driver; fix bug with LFN.Damien George
2014-03-14stmhal - add led support. Add netduino_plus_2 supportDave Hylands