Search found 3 matches

by aml@stm32
Sat Mar 28, 2020 7:37 am
Forum: General discussion
Topic: How to genaraite ppm in stm32f1
Replies: 14
Views: 9233

Re: How to genaraite ppm in stm32f1

working ported code for stm32f1 (the blue pill) :mrgreen: #include <Arduino.h> #define CPU_MHZ 72 #define CHANNEL_NUMBER 8 //set the number of chanels #define CHANNEL_DEFAULT_VALUE 1100 //set the default servo value #define FRAME_LENGTH 22500 //set the PPM frame length in microseconds (1ms = 1000µs)...
by aml@stm32
Tue Mar 24, 2020 3:36 pm
Forum: General discussion
Topic: How to genaraite ppm in stm32f1
Replies: 14
Views: 9233

Re: How to genaraite ppm in stm32f1

thanks , but that project convert ppm to serial i need the invarce esp code for ppm /// it works #define CPU_MHZ 80 #define CHANNEL_NUMBER 8 //set the number of chanels #define CHANNEL_DEFAULT_VALUE 1100 //set the default servo value #define FRAME_LENGTH 22500 //set the PPM frame length in microseco...
by aml@stm32
Tue Mar 24, 2020 9:29 am
Forum: General discussion
Topic: How to genaraite ppm in stm32f1
Replies: 14
Views: 9233

How to genaraite ppm in stm32f1

can any one help me to write a simple code to genaraite ppm signal on stm32 i had only found codes for atmega and esp null for stm
i am geting trouble at porting it (dont have good idia about timer and counter)

Go to advanced search