[AVR] 433Mhz Tx&RX with atmega8

Status
Not open for further replies.

MuhammadAbubakar

Newbie level 2
Joined
Feb 28, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
Dear PEople.
I am having a problem.I am sending a stream of data from one uC ATmega8 to an other and at the receiver end I am viewing this data on my PC using FTDI chip.
The problem is the ADC values which I am sending are being correctly received on my Receier but when I try to map those ADC values to the PWM pins they dont work properly. I dont know how to convert those Char Values to int for PWM.
Plz help
Thanks.
 

No. As I told you i am not using Arduino.
I am Using Atemga8 as Tx and RX.
the values received are OK but when I try to apply those values on PWM pins, The O/P of PWM dosent behave Properly.
 

i think for atmega8 adc is 10bit and pwm is 8bit.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…