Does the PicSimLab BluePill timer support channel 3 and channel 4 for TIM2? #129
Replies: 2 comments 2 replies
-
Hi @NCHU-Jimmy , |
Beta Was this translation helpful? Give feedback.
-
Hi @NCHU-Jimmy , I fixed the problem with the timer output pins, you can test with the fixed code. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am a beginner in embedded systems.
I am using PlatformIO and PicSimLab with a BluePill to implement a timer output.
I’d like to know if there’s an issue with my code, or if CH3 and CH4 are simply not supported?
This is the code and result for using CH2, and you can see that it works correctly.
(But the output is 5 kHz; it should be 10 kHz instead, right?)
This is the code and result for using CH3, and you can see that it is not working correctly.
Beta Was this translation helpful? Give feedback.
All reactions