Well I have a vacation and with nothing special to do I keep on trying new things.This time I start of with understanding boot loaders,RTOS and after all this I just went into the cores of Arduino.Thanks to this open Source project,I was able to learn a lot from there available codes and libraries .I have now created a simple library for ATmega32 which can use same functions as of arduino .Advantage of completely creating this library is more pins and Memory space.I have right now just define basic digital IOs.I have successfully compiled it but there is a long way to go still .I would like to know if someone else has created Library for Atmega32?
I have configured PORTA for input similar to that of Arduino's ATmega8,staring pin numbering from PA0 to PA7 as 0 to 7 and PORTC from 8 to 15 ,16th pin is PD7(port D) ,PB0 to PB7 as 17 to 24th pin and PD0 to PD6 as 25 to 31pin.So total digital pin available would be 24 and analog will be 8 .I do have work more to determine other things as PWM pins,bootloader for it (if I can do that in this winter vacation ,but I don't think so, I have to go for rural Internship ), and other things common in Arduino's.
As of now I am interested in creating this library if someone has already done it.It was good experience of few Hours. Guys at Arduino have nicely worked out to define simplicity of Arduino. I will try put everything that I explored.If anyone requires to Know more about this effort mail me.I am also Interested in programming Cortex M3 I have seen that people at Arduino are working over it.Well it would be good but I think it would be costly .
As soon as I complete it for Analog input I will post the files and codes and I think it would not take much time. So give me few days.Thanks.
you can see progress here:
https://docs.google.com/open?id=0B0rGMmMYhbUnMWJiMDVmODAtOTc3Zi00YTYyLThhOGEtM2I2ZThmMmZmZTA3
I have configured PORTA for input similar to that of Arduino's ATmega8,staring pin numbering from PA0 to PA7 as 0 to 7 and PORTC from 8 to 15 ,16th pin is PD7(port D) ,PB0 to PB7 as 17 to 24th pin and PD0 to PD6 as 25 to 31pin.So total digital pin available would be 24 and analog will be 8 .I do have work more to determine other things as PWM pins,bootloader for it (if I can do that in this winter vacation ,but I don't think so, I have to go for rural Internship ), and other things common in Arduino's.
As of now I am interested in creating this library if someone has already done it.It was good experience of few Hours. Guys at Arduino have nicely worked out to define simplicity of Arduino. I will try put everything that I explored.If anyone requires to Know more about this effort mail me.I am also Interested in programming Cortex M3 I have seen that people at Arduino are working over it.Well it would be good but I think it would be costly .
As soon as I complete it for Analog input I will post the files and codes and I think it would not take much time. So give me few days.Thanks.
you can see progress here:
https://docs.google.com/open?id=0B0rGMmMYhbUnMWJiMDVmODAtOTc3Zi00YTYyLThhOGEtM2I2ZThmMmZmZTA3