-
Archives
- August 2016
- July 2016
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- May 2015
- April 2015
- January 2015
- December 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- September 2013
- July 2013
- May 2013
- April 2013
- February 2013
- January 2013
- October 2012
- September 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- March 2011
- February 2011
- January 2011
- March 2010
- January 2010
- December 2009
- November 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
-
Meta
Category Archives: Tips and Tricks
Literally Bits
The new version of the MPLAB C32 (v1.05) compiler is out and is filled with new features and a new (as in additional) DSP library designed for compatibility with the dsPIC standard DSP lib. But for me the most exciting … Continue reading
Posted in PIC32, Tips and Tricks
Comments Off on Literally Bits
Using the 32-bit Core Timer
One of the features of the PIC32 that I have so far somewhat left out in my “explorations” is the 32-bit Core Timer. This is in fact a piece of the MIPS M4K core itself and is common to all … Continue reading
Posted in PIC32, Tips and Tricks
Comments Off on Using the 32-bit Core Timer
Testing the PIC32 I/O Speed
In the last several months I have seen a couple of postings on the PIC32 forum about users testing the speed of the PIC32 I/O. It is quite normal and healthy for a community of Embedded Control designers to worry … Continue reading
Posted in PIC32, Tips and Tricks
2 Comments
Merry Christmas and Happy New Year
I guess we all wait for the Christmas holidays to recover from a long year of hard work, enjoy some more time with family and friends and prepare for the new year at the doors. As I am writing this, … Continue reading
Posted in AV16/32, PIC32, Tips and Tricks
Comments Off on Merry Christmas and Happy New Year
Bending the laws of physics
As a reader pointed out today, when preparing one of the pictures in Chapter 3, I did use a little trick, I had almost forgotten… I did reduce the DELAY constants by a factor of 100 to … speed things … Continue reading
Posted in Tips and Tricks
Comments Off on Bending the laws of physics
Inexplicably Working Errata
A few days ago, I received an email from a reader who reported a new errata on page 123 (in the “Learning to fly the PIC24” book) in the write() function, an example of redirecting the “stdout” output stream. The … Continue reading
Posted in PIC24, Tips and Tricks
Comments Off on Inexplicably Working Errata
Modifying and Testing the code for the new GA1 and GB1 families
I have received a lot of request recently from readers, future PIC24 pilots, concerning the possibility to port the code from the book to the the newest families of PIC24 microcontrollers. The differences are not that big, but I have … Continue reading
Posted in PIC24, Tips and Tricks
Comments Off on Modifying and Testing the code for the new GA1 and GB1 families
3D Graphics
Using the new double buffered graphic library (see previous post) we can now create simple animations. In chapter 12 we have already seen how to visualize a 2D function using a grid and a bit of perspective (isometric). The next … Continue reading
Posted in AV16/32, Graphics, Tips and Tricks
1 Comment
Graphic Animation
In the good old times, when studying at the University of Trieste, I particularly enjoyed Rational Mechanics, a required class for any EE Master back then, presented by professor Enzo Tonti. One of the things that were always making his … Continue reading
Posted in AV16/32, Graphics, Tips and Tricks
1 Comment
Optimizing the graphic library
While working on the porting to the PIC32 of the code developed for the original PIC24 book it occurred to me that there were some obvious optimizations I had yet to explore. For a starter, the graphic.c library was using … Continue reading
Posted in Graphics, Tips and Tricks
1 Comment