Go Down

Topic: need help to convert pic code to arduino (Read 135 times) previous topic - next topic

syahirah

hello there,

pardon me for my lack of knowledge in programming, well this thing is there is a code i had obtained but its for pic18XXX kind of microcontroller.

even though its in C, i m not sure how to convert it into arduino type of code.. so please help me out here thanx...

jremington

#1
Oct 12, 2015, 05:38 pm Last Edit: Oct 12, 2015, 05:39 pm by jremington
Just change whatever is specific to the PIC chip to an equivalent for the Atmel chip you will be using.

Riva

even though its in C, i m not sure how to convert it into arduino type of code.. so please help me out here thanx...
Post the code (in code tags or attach it) or link to it and someone here may be able to convert it if it's not using PIC microcontroller specific hardware abilities.
Don't PM me for help as I will ignore it.

Krupski

Just change whatever is specific to the PIC chip to an equivalent for the Atmel chip you will be using.
That's what he's asking for help doing!

Anyway, if the PIC code is in C, it should translate directly (aside from specific non-C functions such as the Arduino "Serial.print" function).
Gentlemen may prefer Blondes, but Real Men prefer Redheads!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy