Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20696

BASCOM-AVR : m128 pwm problem : REPLY

$
0
0
Brought the report in a more legible format, however I do not see overlaps. What I'd suggest, is to place a dummy buffer dbuf(32) As Byte immediately after declaration of TM(7), to eliminate a memory problem. Also increase stack and frame, you have lots of sram left. As Ian suggested, replace I2creceive() by its code-equivalent and get the bytes piece by piece. If that won't work, and you can send debug messages via the serial, read the Timer0 registers, and send the content to a terminal. This allows to check, what's going on. Registers are: TCCR0 OCR0 ASSR TIMSK

Viewing all articles
Browse latest Browse all 20696

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>