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

Moroccan company specializing in IT services and tailor-made web solutions. We help companies of all sizes simplify their processes and achieve their business goals through efficient and affordable technology solutions. /centre-d-appel-maroc/

Get real money, easy to play, no hassle Apply for Bet loox - BETLOOX slot website Thailand Betloox New members receive free credit Apply for free credit - 24 hours a day. betloox

BETMAX Teach you how to play BETMAX slots - Get real money, easy to play, no hassle Apply for Betmax 168 - BETMAX slot website Thailand Betmex168 New members receive free credit Apply for free credit - 24 hours a day. betmax168

Teach you how to play slots BGSLOT789 - Get real money, easy to play, no hassle Apply for Bgslot 789 - BGSLOT789 slot website Thailand Bgslot789 New members receive free credit Apply for free credit - 24 hours a day. bgslot789

Champion embodies a culture of leadership and innovation. Our dedicated team continually adapts to the evolving marketplace, providing top-notch services to assist homeowners and commercial properties in their recovery journey. This commitment endures, driving us to pioneer innovations that transform our industry and elevate our team. We persistently raise the bar in quality, safety, and sustainability, ensuring a future where excellence is our standard. commercial cleanup

GardePro offers the best trail cameras for hunting and wildlife observation. Our trail cams capture high-quality images and videos, ensuring no moment goes unnoticed. Perfect as deer cameras, they are reliable and easy to use. Choose GardePro for your next hunting camera adventure. best trail camera

Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. Are you aware of any other websites on this subject.I learn some new stuff from it too, thanks for sharing your information.Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that. Thanks so lot for your convene.Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work.    Wall Washer Lamp

เสื้อลายดอก เสื้อฮาวาย เสื้อสงกรานต์ เสื้อเที่ยวทะเล เสื้อใส่ทำบุญ เสื้อคู่ เสื้อทีม เสื้อบริษัท เสื้อปาร์ตี้ ใส่ได้ทั้งผู้ชาย และ ผู้หญิง สีสันสดใส ใส่สบาย มีหลากหลาย สไตล์ สี และ ลวดลายให้เลือกสรร ใส่ได้หลากหลายโอกาส เช่น เที่ยวทะเล ทำบุญ สรงน้ำพระพุทธรูปที่บ้าน รดน้ำดำหัวผู้ใหญ่ในบ้าน อีกทั้งเป็น เสื้อรุ่น เสื้อกิจกรรม เสื้อกลุ่ม เสื้อรับน้อง เสื้อใส่เที่ยวทะเล เสื้อใส่ทำบุญ เสื้อฮาวายลายดอก เสื้อฮาวายวินเทจ เสื้อลายดอกพิมพ์ลายดอกไม้เรโทรสไตล์วินเทจ ดีไซน์ทันสมัย เนื้อผ้าเบาบางพร้อมกับให้ความรู้สึกเย็นขณะสวมใส่เหมาะสำหรับการ ทุกฤดูกาล เสื้อใส่ทำบุญ

These types of foods also help with weight control and have balanced combinations of proteins, fiber and vitamins. High moisture wet food is ideal for older dogs or dogs with digestive problems as it helps maintain hydration and ease digestion. Semi-moist food is also suitable for dogs with sensitive teeth and digestive problems with its soft texture. خرید غذای سگ

At Urika Cloud, we understand that companies do not always have the time or resources to manage complex IT infrastructures. That's why we offer services and solutions that are simple to use and implement, allowing you to focus on what really matters: growing your business. urikacloud.com/ Société de Services IT Web Au Maroc Outsourcing Infogérance Transformation Digital Cloud et Cybersécurité

It’s a potent powdered supplement, based on the diets of one of the healthiest, longest-living communities in the world, that can be mixed into water or your favorite beverage to be enjoyed as a delicious breakfast juice in the mornings. This powerful lean belly juice supplement wakes up the metabolism, boosts energy, and burns fat all day. weight loss supplements

Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!THANKS!!!!!!I really loved reading your blog. It was very well authored and easy to understand.   Nachhaltiger Solarstrom

Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post.I really loved reading your blog. It was very well authored and easy to understand. Invisible Door Hinge

As your partner for sustainable success, Sambodhi is deeply committed to ensuring the best pathway to reach your desired goals. Our 7D model represents a holistic approach to training and development tailored to your unique needs. Through it, we unlock your organization’s full potential, fostering growth and excellence. corporate training

I would like to say that this blog really convinced me to do it! Thanks, very good post.I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info.It was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks. Newport Residences

Pages