Pages: [1]   Go Down
Author Topic: ATmega8 Vs Atmega328P  (Read 434 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: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 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: 66
Posts: 2479
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

There is no such thing as a stupid question but there are a lot of inquisitive idiots.

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
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: