Post here to teach people how to do something.
Moderators: Chuckt, Garth, bitfogav
Post Reply
[phpBB Debug] PHP Warning: in file
[ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line
1266:
count(): Parameter must be an array or an object that implements Countable
-
bitfogav
- Moderator

- Posts: 915
- Joined: Sun Mar 28, 2010 9:03 pm
- Location: United Kingdom
-
Contact:
Post
by bitfogav » Sun Mar 13, 2011 10:18 pm
Hi everyone I came across this piece of software and thought I would share
Its very useful for working out your Usart settings and Timer settings for PICS, also many more features like PWM and A/D.

- picCalc.jpg (26.48 KiB) Viewed 17456 times
Example: Heres the EUSART Calc set with a clock of 48Mhz and a baudrate of 250K, the output settings if I was to set BRG16 = 1 and BRGH = 1 then I would enter the Value 47 into the SPBRG Register, this will setup our EUSART with a baudrate of 250k (example DMX Protol baudrate).

- piccalc2.jpg (51.13 KiB) Viewed 17456 times
Download here:
-
brad
- Site Admin

- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Post
by brad » Mon Mar 14, 2011 8:47 am
Thanks bitfogav - just downloaded it!
-
sdudley
- Moderator

- Posts: 337
- Joined: Sun Mar 28, 2010 1:33 pm
- Location: Florida, U.S.A.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Post
by sdudley » Sat Apr 02, 2011 3:17 pm
Thanks bitfogav. I will definitely put this to use for some PWM code. I have been using the following but only for timer settings:
http://pictimer.picbingo.com/
Heres one for calculating delay routines in assembly:
http://www.biltronix.com/picloops.html
They don't have as much to offer but have been a big help for me a couple times so I feel obligated to give some props!
Stacy
Any time you deviate from sequential consistency, you increase the complexity of the problem by orders of magnitude.
-
brad
- Site Admin

- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Post
by brad » Sun Apr 03, 2011 11:06 am
All good and helpful info Stacy!
-
sdudley
- Moderator

- Posts: 337
- Joined: Sun Mar 28, 2010 1:33 pm
- Location: Florida, U.S.A.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Post
by sdudley » Sun Apr 03, 2011 11:40 pm
brad wrote:All good and helpful info Stacy!
I figured most everyone here has moved on from assembly so maybe it's not very useful anymore.
Stacy
Any time you deviate from sequential consistency, you increase the complexity of the problem by orders of magnitude.
-
brad
- Site Admin

- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Post
by brad » Tue Apr 05, 2011 6:10 am
There have been times that I have looked back to assembly

-
bitfogav
- Moderator

- Posts: 915
- Joined: Sun Mar 28, 2010 9:03 pm
- Location: United Kingdom
-
Contact:
Post
by bitfogav » Tue Apr 05, 2011 7:11 am
Same here i have looked back at assembly
But you can also use assembly in basic.
-
brad
- Site Admin

- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Post
by brad » Tue Apr 05, 2011 10:26 pm
Where my two programming languages unite!
Post Reply
[phpBB Debug] PHP Warning: in file
[ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line
1266:
count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file
[ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line
1266:
count(): Parameter must be an array or an object that implements Countable
Who is online
Users browsing this forum: No registered users and 1 guest