Reply by BrunoG May 4, 20062006-05-04
"John B" <spamj_baraclough@blockerzetnet.co.uk> a &#4294967295;crit dans le message de 
news: 4bv8ggF13r8boU1@individual.net...
> BrunoG scrobe on the papyrus: > > OK, my mistake, it works if I do it right. I had left the frequency box > blank and only got the table as you described. Now if you could just do > the same for AVR's (or maybe I could crib your javascript and modify > it). >-:} > > -- > John B
Hi John, I have no AVR hardware to make some tests, but if you want to do it from my javascript you're welcome ;-) Bruno http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html
Reply by John B May 4, 20062006-05-04
BrunoG scrobe on the papyrus:

> > "John B" <spamj_baraclough@blockerzetnet.co.uk> a icrit dans le > message de news: 4bun2nF132te8U1@individual.net...
. .
> > I'm using Opera version 8.51 and I still don't see any code only a > > large table of values. Where should I be looking for the code > > listing? > > > > -- John B > > Hi John, > > The code is after the table of values. > > When no PWM value is entered, all the solutions are displayed, and in > this case not code is given > > I tried with Opera V8.54 and it works fine, try for example with Fosc > = 4 Mhz and Fpwm = 1000 Hz with 50% duty cycle, if your browser shows > the table you should also see the code. > > Thanks, > > Bruno > http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calcula > tor.html
Hi Bruno, OK, my mistake, it works if I do it right. I had left the frequency box blank and only got the table as you described. Now if you could just do the same for AVR's (or maybe I could crib your javascript and modify it). >-:} -- John B
Reply by BrunoG May 4, 20062006-05-04
"Bob Eld" <nsmontassoc@yahoo.com> a &#4294967295;crit dans le message de news: 
mOp6g.67355$F_3.57159@newssvr29.news.prodigy.net...
> > "BrunoG" <noreply@micro-examples.com> wrote in message > news:4459d34d$0$19719$8fcfb975@news.wanadoo.fr... >> Hi, >> >> I wrote a PWM calculator and code generator : >> >> > http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.ht > ml >> >> This may help anyone fighting with PIC PWM registers calculations... >> >> Questions & comments are welcome >> >> Bruno > > Looks good, thanks. > Is there something similar for the USARTs, and other things requiring > multiple register settings where it is so easy to make a mistake? > Bob > >
Hi Bob, It's a little bit different for USART but I'm thinking about it ;-) Thanks, Bruno http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html
Reply by BrunoG May 4, 20062006-05-04
"John B" <spamj_baraclough@blockerzetnet.co.uk> a &#4294967295;crit dans le message de 
news: 4bun2nF132te8U1@individual.net...
> BrunoG scrobe on the papyrus: > >> "Wolfgang Mahringer" <yeti201@gmx.at> a icrit dans le message de >> >> It seems that some browsers do not apply the black background color >> from the <table bg=#000000> tag correctly, so I removed it, and font >> tag too. >> >> the code is now printed black on a white background, and should be >> convenient for all users. >> >> Thanks ;-) >> >> Bruno >> http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calcula >> tor.html > > I'm using Opera version 8.51 and I still don't see any code only a > large table of values. Where should I be looking for the code listing? > > -- > John B
Hi John, The code is after the table of values. When no PWM value is entered, all the solutions are displayed, and in this case not code is given I tried with Opera V8.54 and it works fine, try for example with Fosc = 4 Mhz and Fpwm = 1000 Hz with 50% duty cycle, if your browser shows the table you should also see the code. Thanks, Bruno http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html
Reply by Bob Eld May 4, 20062006-05-04
"BrunoG" <noreply@micro-examples.com> wrote in message
news:4459d34d$0$19719$8fcfb975@news.wanadoo.fr...
> Hi, > > I wrote a PWM calculator and code generator : > >
http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.ht ml
> > This may help anyone fighting with PIC PWM registers calculations... > > Questions & comments are welcome > > Bruno
Looks good, thanks. Is there something similar for the USARTs, and other things requiring multiple register settings where it is so easy to make a mistake? Bob
Reply by John B May 4, 20062006-05-04
BrunoG scrobe on the papyrus:

> "Wolfgang Mahringer" <yeti201@gmx.at> a icrit dans le message de > news: ixo6g.14$Tz6.582808@news.salzburg-online.at... > > Hi Bruno, > > > > <font color=#ffffff> > > > > white text on white background doesn't look good > > in the source code window.... > > > > greets, > > Wolf > > > > -- From-address is Spam trap > > Use: wolfgang (dot) mahringer (at) sbg (dot) at > > > > Hi Wolfgang, > > It seems that some browsers do not apply the black background color > from the <table bg=#000000> tag correctly, so I removed it, and font > tag too. > > the code is now printed black on a white background, and should be > convenient for all users. > > Thanks ;-) > > Bruno > http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calcula > tor.html
I'm using Opera version 8.51 and I still don't see any code only a large table of values. Where should I be looking for the code listing? -- John B
Reply by BrunoG May 4, 20062006-05-04
"Spehro Pefhany" <speffSNIP@interlogDOTyou.knowwhat> a &#4294967295;crit dans le message 
de news: rf4k52lgfqetnrm4kos9ef60fm7t0vs3hs@4ax.com...
> On Thu, 4 May 2006 12:11:15 +0200, the renowned "BrunoG" > <noreply@micro-examples.com> wrote: > >>Hi, >> >>I wrote a PWM calculator and code generator : >> >>http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html >> >>This may help anyone fighting with PIC PWM registers calculations... >> >>Questions & comments are welcome >> >>Bruno > > Tr&#4294967295;s bon. > >
;-)) Thanks ! Bruno http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html
Reply by BrunoG May 4, 20062006-05-04
"Wolfgang Mahringer" <yeti201@gmx.at> a &#4294967295;crit dans le message de news: 
ixo6g.14$Tz6.582808@news.salzburg-online.at...
> Hi Bruno, > > <font color=#ffffff> > > white text on white background doesn't look good > in the source code window.... > > greets, > Wolf > > -- > From-address is Spam trap > Use: wolfgang (dot) mahringer (at) sbg (dot) at >
Hi Wolfgang, It seems that some browsers do not apply the black background color from the <table bg=#000000> tag correctly, so I removed it, and font tag too. the code is now printed black on a white background, and should be convenient for all users. Thanks ;-) Bruno http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html
Reply by Wolfgang Mahringer May 4, 20062006-05-04
Hi Bruno,

<font color=#ffffff>

white text on white background doesn't look good
in the source code window....

greets,
Wolf

-- 
From-address is Spam trap
Use: wolfgang (dot) mahringer (at) sbg (dot) at

Reply by Spehro Pefhany May 4, 20062006-05-04
On Thu, 4 May 2006 12:11:15 +0200, the renowned "BrunoG"
<noreply@micro-examples.com> wrote:

>Hi, > >I wrote a PWM calculator and code generator : > >http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html > >This may help anyone fighting with PIC PWM registers calculations... > >Questions & comments are welcome > >Bruno
Tr&#4294967295;s bon. Best regards, Spehro Pefhany -- "it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com