dec to function in codevision avr?

Status
Not open for further replies.

selva murugesan

Advanced Member level 4
Joined
Mar 30, 2012
Messages
116
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Activity points
2,007
is there any function ,which is change decimal value to hex value, available on codevision avr?if yes, tell me under which category?how can we use?
 

What exactly are you trying to do?

When you assign a value then there is no difference between decimal , hex and binary


Code C - [expand]
1
2
3
4
5
unsigned char my_var;
 
my_var = 0b1111;  // assign binary value
my_var = 0xF;  // assign hexadecimal value
my_var = 15;   // assign decimal value



All the above lines have the same result

Alex
 

hai, i am using atmega 8 to my project, almost i have used all pins. in port c is 6th pin is the reset pin. but i have used as input (push button)? is there reset pin affect all other pins
 

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…