Mercurial > pub > halpp
comparison l476rg-hal-test/src/main.cpp @ 1:a0b14b11ad9f
working on dependencies between MCU devices such as GPIO, Pins and Timers
author | cin |
---|---|
date | Fri, 13 Jan 2017 02:11:02 +0300 |
parents | 32a3b1785697 |
children | 0c59e7a7782a |
comparison
equal
deleted
inserted
replaced
0:32a3b1785697 | 1:a0b14b11ad9f |
---|---|
26 ****************************************************************************** | 26 ****************************************************************************** |
27 */ | 27 */ |
28 | 28 |
29 /* Includes */ | 29 /* Includes */ |
30 #include "stm32l4xx.h" | 30 #include "stm32l4xx.h" |
31 #include "msp.h" | |
31 | 32 |
32 /* Private macro */ | 33 /* Private macro */ |
33 /* Private variables */ | 34 /* Private variables */ |
34 /* Private function prototypes */ | 35 /* Private function prototypes */ |
35 /* Private functions */ | 36 /* Private functions */ |
58 /* TODO - Add your application code here */ | 59 /* TODO - Add your application code here */ |
59 | 60 |
60 /* Infinite loop */ | 61 /* Infinite loop */ |
61 while (1) | 62 while (1) |
62 { | 63 { |
64 Hardware::pwm1.SetPulse(150); | |
63 i++; | 65 i++; |
64 } | 66 } |
65 } | 67 } |