Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/20/11 01:06
Read: times


 
#183401 - How about programming issue?
Responding to: ???'s previous message
How about the programming code that I've used to program the AT89S51? I use the same program code for ATmega48 to open the port on the AT89S51, does it mean that it have different programming code between ATmega family? If yes, can you guy write me a very simple program code just to open the port P0.0 and P0.1?
This is the code I use on ATmega48 and it work, only can't program it into AT89S51.

#include <avr/io.h>

int main(void)
{
DDRB = 0xFF;

PORTB = 0xFF;

return 0;

}

List of 19 messages in thread
TopicAuthorDate
Compatible Issue??            01/01/70 00:00      
   AVR Studio            01/01/70 00:00      
   No            01/01/70 00:00      
   How about programming issue?            01/01/70 00:00      
      They are totally different!            01/01/70 00:00      
         To: Kai Klaas            01/01/70 00:00      
            "Gimmee Code"            01/01/70 00:00      
               Thanks            01/01/70 00:00      
                  Why wait for answer from a forum            01/01/70 00:00      
                     How to proceed            01/01/70 00:00      
            Example code for AT89S52            01/01/70 00:00      
               Example code            01/01/70 00:00      
                  Your contributions are annoying...            01/01/70 00:00      
   What error?            01/01/70 00:00      
      Can't get in programming mode.            01/01/70 00:00      
         Confusion over meaning of "programming"?            01/01/70 00:00      
            Writing the program            01/01/70 00:00      
               RE: Writing the program            01/01/70 00:00      
   Thanks all.            01/01/70 00:00      

Back to Subject List