Pages: [1]   Go Down
Author Topic: ATmega8 Vs Atmega328P  (Read 374 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Hi there !

I have a sketch which is working fine with ATmega328P, since this uc is expensive, I would like
upload this program/sketch to ATmega8. I have the following apprehensions :-
(1) Is it possible to upload this sketch to ATmega8 ?
(2) If uploaded ,will it work without problem ?
(3) If it malfunctions with ATmega8, What changes I need to do ?

Warm Regards
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Read this before posting a programming question

Hard to say, without seeing this sketch.
Logged

Norfolk UK
Offline Offline
Edison Member
*
Karma: 52
Posts: 2213
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

To determine if your sketch will potentially work on an ATmega8 select the 'Arduino NG or older w/ ATmega8' board type in the Arduino IDE and try to verify the sketch. If it verifies without problems then your a long way to getting it to work. If it shows errors then you will need to post your errors so people can see what the problem may be and if it's fixable.
Logged

Handle every stressful situation like a dog. If you can't eat it or hump it. Piss on it and walk away.

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 21
Posts: 1670
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
To determine if your sketch will potentially work on an ATmega8 select the 'Arduino NG or older w/ ATmega8' board type in the Arduino IDE and try to verify the sketch. If it verifies without problems then your a long way to getting it to work. If it shows errors then you will need to post your errors so people can see what the problem may be and if it's fixable.

Quick and easy check - good idea Riva.
Logged


Pages: [1]   Go Up
Jump to: