[TUT] [C] Guide to use avrfix library in your Arduino application

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi buddies,

 

if you are facing a performance problem because of floating-point operation, I think this library is a really good one worth considering:

http://avrfix.sourceforge.net/

 

* To be updated later *

Last Edited: Fri. May 4, 2018 - 08:25 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

wonder what is the Tutorial value here......

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Giang Nguyen wrote:
I think this library is (sic?) a really good one worth considering:

https://github.com/duckythescien...

 

Well, maybe it has the potential to be "a really good one":

on that GitHub page, duckythescientist wrote:

STATUS: POSSIBLY WORKING

and:

TODO:

  • Verification/testing -- do the functions actually work?
  • Profiling -- is this actually faster than floating point math?
  • Implement exponentiation -- exp is love. exp is life.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Fri. May 4, 2018 - 08:05 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am so sorry if my post is ambiguous. I meant this project coming from the original authors. I have editted the link. 

Very glad to hear your comments.

Last Edited: Fri. May 4, 2018 - 08:24 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

But why did you post it in the Tutorials forum?

Tutorials

 

A discussion forum for AVR-related tutorials and code examples written by forum members.

 

 

And, in the sticky post titled "PLEASE READ BEFORE POSTING: Forum Purpose"

The forum should be used for posting either a complete tutorial (in plain text or as an attachment) which teaches a reader how to accomplish a well-defined goal or a code snippet which also accomplishes a well-defined goal.

 

What you posted - interesting as it may be - is neither a tutorial nor a code example. 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Fri. May 4, 2018 - 08:30 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Can we be clear whether you have plans to edit #1 to turn this from a simple link into a full tutorial? If you do I'll leave this here. If  you don't I'll move the thread and edit the thread title as this clearly does not qualify as a Tutorial in its current form as it does not "Tutor" us about anything.

 

Moderator.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi clawson,

 

I really want to write a complete guide here about avrfix (just my experiences when merging it into my PJ and how to use it correctly that is not represented clearly by the author of avrfixlib). Pls leave it here and I will modify it later.

 

Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

OK, but in future note that the way this would usually work is that you COMPLETE the text of a tutorial and THEN you post something here. You don't just create an "empty placeholder" because too often people don't come back and fill in any further detail.