polashd Member Jun 16, 2013 #1 I need to learn using fixed-point math in winavr. I downloaded 'avrfix', but I don't know how to use (write code etc.) it. I can't find specific tutorial on this in the web. can anyone help me in this regard. -how to use fixed-point math and it's lib - how to convert it to string -how to display in on the LCD regards Polash
I need to learn using fixed-point math in winavr. I downloaded 'avrfix', but I don't know how to use (write code etc.) it. I can't find specific tutorial on this in the web. can anyone help me in this regard. -how to use fixed-point math and it's lib - how to convert it to string -how to display in on the LCD regards Polash
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Jun 16, 2013 #2 What language do you intend to use...
misterT Well-Known Member Most Helpful Member Jun 17, 2013 #3 Ian Rogers said: What language do you intend to use... Click to expand... Winavr. That is avr-gcc C-compiler and avr-libc library. I think there is fixed point math support in avr-gcc. The documentation is not very good though. Here is the original thesis (or documentation) for avrfix: https://netcologne.dl.sourceforge.net/project/avrfix/avrfix/Bachelor_s Thesis/avrfix.pdf
Ian Rogers said: What language do you intend to use... Click to expand... Winavr. That is avr-gcc C-compiler and avr-libc library. I think there is fixed point math support in avr-gcc. The documentation is not very good though. Here is the original thesis (or documentation) for avrfix: https://netcologne.dl.sourceforge.net/project/avrfix/avrfix/Bachelor_s Thesis/avrfix.pdf
remon7 Active Member Dec 13, 2013 #4 For fixed point, it's all standard C, nothing specific to WinAVR..