Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
PWM is a form of signal modulation that allows digital output to approximate an analog signal. Use this for questions about using the PWM pins (marked with ~).
0
votes
1
answer
642
views
STM32 VGA Output - don't understand why lines are jagged
is my code:
// interrupt handlers
void EndVBackPorch();
void ShockAbsorber();
volatile uint8 *GPIO_ODR;
volatile int vflag = 0; /* When 1, can draw on the screen */
void setup()
{
pinMode(PB6, PWM … ); // VSync
pinMode(PB0, PWM); // HSync
// PA0..PA5 set to OUTPUT with max speed 50 MHz
GPIOA->regs->CRL = 0x88333333;
GPIO_ODR = (volatile uint8_t *)&GPIOA->regs->ODR;
// 640 x 480 @ 60 Hz …