We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2015/03/07 05:21:45 AM CET
i want to simple 50hz code for atmega 16
without library alredy i have code but it not wirking
void main()
{
//Configure TIMER1
TCCR1A|=(1<<COM1A1)|(1<<COM1B1)|(1<<WGM11); //NON Inverted PWM
TCCR1B|=(1<<WGM13)|(1<<WGM12)|(1<<CS11)|(1<<CS10); //PRESCALER=64 MODE 14(FAST PWM)
ICR1=4999; //fPWM=50Hz (Period = 20ms Standard).
DDRD|=(1<<PD4)|(1<<PD5); //PWM Pins as Out
while(1)
{
OCR1A=97; //0 degree
Wait();
}
posted on 2015/03/04 01:40:33 PM CET
posted on 2015/03/04 01:39:28 PM CET
posted on 2015/03/04 02:43:17 AM CET
I have a Problem in TFT Code loading >>>
When I loading an example for Easy TFT The code build Successful and TFT Screen Work fine but when i generate my code in visual tft program then build the code in mikroC pro for arm the TFT Screen Empty >>>
and when i open the example code for easy tft on the MikroC Pro for arm and build it on the program then load the code to the EasyMx Pro v7 STM32 ARM the tft screen empty ...
any help and thank you
posted on 2015/02/16 06:41:21 PM CET
Will someone upload some example code for Air Quality MikroC PRO for ARM. There isnt any listed as of now. I would really appreciate it.