Jun 6, 2012 #1 S 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?
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?
Jun 6, 2012 #2 alexan_e Administrator Joined Mar 16, 2008 Messages 11,888 Helped 2,021 Reputation 4,158 Reaction score 2,031 Trophy points 1,393 Location Greece Activity points 64,371 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
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
Jun 8, 2012 #3 S 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 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
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