[SOLVED] How to Arduino Programming Language in Atmel Studio 6?

Status
Not open for further replies.

xpress_embedo

Advanced Member level 4
Joined
Jul 5, 2011
Messages
1,154
Helped
161
Reputation
396
Reaction score
189
Trophy points
1,353
Location
India
embeddedlaboratory.blogspot.in
Activity points
10,591
Hello!!
I am new to Arduino, but i know that Arduino has lot of libraries with it for various complex process like ethernet, sd card interfacing etc.

But we can't use Arduino IDE to create big projects as it will become more complex in that IDE.

So i want to use Arduino Libraries, in Atmel Studio, is it possible to do so i dont have any arduino board with me, but some custom boards on AVR and just want to use take benefit from the arduino libraries.

In short i want to write code as per standard of Arduino Programming Language but wants to compile it in Atmel Studio 6.
I am having JTAG ICE3 with me to program my AVR Boards.

Please tell me how to do so.
 

as i know atmel studio dosent have capability of compiling arduino libs
if arduino support your target mcu(have a bootloader for it) i think you can program initial bootloader to it ,use atmel ide for writing codes(one of the bests for code writing), & then copy it to arduino & compile it.
or change arduino libraries to standard c/cpp lib for your atmel studio(i choose this but its a little longsome)
; )
 

Hello!! I find a software visual micro which combines with Atmel Studio or Visual Studio and can compile the programs written with arduino library.
Simple programs like led blink, uart display works perfectly, but i am having problem with the SD Card.
The program is not compiling please some one help me.

I am trying to compile a Code for Memory Card Interfacing but it is giving me following errors



I am also attaching the code, please some one help.
I dont know why i am not able to include the SD.h file

View attachment SDCard.zip
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…