diff 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
line wrap: on
line diff
--- a/l476rg-hal-test/src/main.cpp	Thu Jan 12 02:45:43 2017 +0300
+++ b/l476rg-hal-test/src/main.cpp	Fri Jan 13 02:11:02 2017 +0300
@@ -28,6 +28,7 @@
 
 /* Includes */
 #include "stm32l4xx.h"
+#include "msp.h"
 
 /* Private macro */
 /* Private variables */
@@ -60,6 +61,7 @@
   /* Infinite loop */
   while (1)
   {
+	  Hardware::pwm1.SetPulse(150);
 	i++;
   }
 }