Posts Tagged ‘mega’


Arduino Mega: PWM Pin and Frequency Timer Control

Arduino Mega: PWM Pin and Frequency Timer Control

LOTS OF NEW UPDATES! These have all been personally Measured By Myself!!


Want to change the frequency on your your arduino mega?

I have painstakingly Spend many hours today going through every timer one by one and checking them on the Oscilloscope.

I can now accurately say these are all guaranteed within .05% precise… 

A lot of this info is out there on the web but not much of it is all in one place and as easy to find as right here VS. Arduino’s Forums.

Getting all this data together for my projects has taken me much effort since a lot of it was hard to completely understand when every place said refer to the datasheet.
That’s great! The french in the data sheet says yes there are timer’s and yes they can be changed, but there was no dumb dumb version in there to say , Do this, Type this here.

There is a lot of info on this for other boards like UNO etc…. but they don’t work the same on the mega’s.

Ok So…..

Continue Reading…


JOS- Arduino TFTLCD Menu Interface Mega support

JOS- Arduino TFTLCD Menu Interface Mega support

Jeremy From Writes:

JOS stands for Jeremy’s Operating System and is open source. I encourage you to use it, hack it, and do what ever you want with it. I know some might say “it’s not an operating system!” I know, but it’s just a name. It is based on Lady Ada’s TFTLCD and TouchScreen libraries. It shares some of the code from Lady Ada’s tftpaint sketch found in the TFTLCD library. It is written in the Arduino IDE and works perfect with the 2.8″ TFTLCD breakout board and the Touch Shield. This version does not support and SD card/bitmap functions as I do not have a touch shield yet. I will write these in when I get a Touch shield some day.

This was already A great piece of code Jeremy over at created.

After giving it some trial Runs. I could instantly see the potential. Tho It worked great if you are on a uno board or the ATmega: 168/328’s.  I found out quickly it wasn’t up to the task of running on a Mega 1280/2560. Which I myself use most of the time.  Thus started my quest for improvements.

Video of features after the break….

Continue Reading…