Software Setup (Arduino IDE 1.0.X)

Since our Macchina is based on an Arduino MEGA 2560, the normal Arduino IDE (version 1.0) can be used with a few additions. Refer to this post for IDE 1.5 and up.

To get your computer talking with the Macchina, follow these steps:

On a Mac, first you will want to hold down 'control' and click the Arduino application icon - then select "Show Package Contents". Next, find the file called "boards.txt" which is can be found at: Contents>Resources>Java>hardware>arduino .

On a PC, open the folder where the 'Arduino' application is found. Then find the file "boards.txt" which can be found at: hardware>arduino

Open the "boards.txt" file and paste the text below to the end of that document.

##############################################################

macchina.name=Macchina

macchina.upload.protocol=stk500v2
macchina.upload.maximum_size=258048
macchina.upload.speed=115200

macchina.bootloader.low_fuses=0xE0
macchina.bootloader.high_fuses=0xD8
macchina.bootloader.extended_fuses=0xFD
macchina.bootloader.path=stk500v2
macchina.bootloader.file=stk500boot_v2_mega2560.hex
macchina.bootloader.unlock_bits=0x3F
macchina.bootloader.lock_bits=0xFF

macchina.build.mcu=atmega2560
macchina.build.f_cpu=16000000L
macchina.build.core=arduino

macchina.build.variant=macchina

----

Next create a folder inside the 'variants' folder and call it "macchina". ('variants' can be found on a Mac at: Resources>Java>hardware>arduino>variants, on a PC at: hardware>arduino>variants)

Put this file: pins_arduino.h inside this new 'macchina' folder.

Restart the Arduino IDE to make sure all the new settings are loaded.

To verify that everything is set up correctly, try out the "Blink" example found in: Files>Examples>0.1 Basics>Blink.

Change the LED to one of the on-board LEDs on the Macchina like this:

Hit the upload button, and you should see the TX/RX LEDs blinking quickly, meaning the code is being sent to the Macchina.

If all is well, you should see a blinking LED!

Note: pin numbers 81 or 82 are the on-board LEDs on Macchina, these pins would not normally be available on a typical Arduino Mega.

Comments

All HK data that we present of course comes from official sources of trusted live draw HK toto expenditures. The main site that presents leaked HK lottery expenditure results is hongkongpools. Pengeluaran HK

We offer young people quality and superior fake IDs accessible through our website. Customers can follow simple steps to fill in an order form, and within a few minutes, your order is ready, and processing begins. We use up-to-date templates that match current legal standards. fake id

We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work.Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome! Fountain Factory

Our platform ensures top-tier security with no history of fraud, giving you peace of mind while playing. With the fastest auto-deposit and withdrawal system, supported by True Wallet, you'll never have to wait. We're a direct website with no middlemen, and our long-standing reputation speaks for itself, with countless players enjoying our services daily. ufa888

Rose Toy Vibrator is a top-rated sex toy for women, uniquely designed with a rose shape. It blends beauty and function, offering clitoral, nipple, and G-spot stimulation with multiple speed modes for enhanced pleasure. rose vibrator

HENGJING168 Easy-to-crack money slot game entrance HENGJING168 Slot website with no minimum We teach you how to play Hengjing168 Entrance to play HENGJING Online slots. hengjing168

HENGJING168 Teach how to play slots HENGJING168 - Get real money, easy to play, no hassle Apply for Hengjing 168 - HENGJING168 slot website Thailand Hengjing168 New members receive free credit Apply for free credit - 24 hours a day. hengjing168

 Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! Crepi gevels

I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles. Zwembad op maat

Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share. Spowumuurisolatie

I found Hubwit as a transparent s ite, a social hub which is a conglomerate of Buyers and Sellers who are ready to offer online digital consultancy at decent cost. Spowumuurisolatie

It is perfect time to make some plans for the future and it is time to be happy. I've read this post and if I could I desire to suggest you some interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it! Thuisbatterij prijs

I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles. Thuisbatterij 5kWh

Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! Zonnepanelen thuisbatterij

Pages