Skip to main content
Arduino

Timeline for Arduino Square Wave Phase Shift by 270 degrees

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Aug 27, 2022 at 22:42 answer added stockvu timeline score: 1
Apr 6, 2018 at 15:08 comment added Bogdan Raspopin @mystery could you please advice on how can I modify the code to be able to do the operation. Sorry I am really new in this space
Apr 6, 2018 at 12:05 history edited Code Gorilla CC BY-SA 3.0
Remove bold text
Apr 6, 2018 at 9:45 comment added mystery setting the FOC bit forces an output compare once regardless of OCR value, effectively causing a 'premature' toggle. This inverts the waveform in the long run. FOC are the last 2 bits (6, 7) in the TCCRB register, FOCxA/B by macro
Apr 6, 2018 at 9:24 comment added Majenko It sounds like it means "Invert the waveform, and do a 90 degree shift".
Apr 6, 2018 at 8:01 comment added Bogdan Raspopin No, I took it from here: electronics.stackexchange.com/questions/174656/…
Apr 6, 2018 at 8:00 comment added AJD Not your own code?
Apr 6, 2018 at 7:37 comment added Bogdan Raspopin I tried to understand that statement and it doesn't make much sense to me. Could you please help me modify the code or understand the statement? @EdgarBonet
Apr 6, 2018 at 7:35 comment added Edgar Bonet The answer is in the code you posted, in a comment: "To do shifts 180-360 degrees, you could invert the OCR1B by doing an extra toggle using FOC".
Apr 6, 2018 at 6:57 history edited Bogdan Raspopin CC BY-SA 3.0
added 176 characters in body
Apr 6, 2018 at 5:56 history asked Bogdan Raspopin CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /