Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNAPpy Example - Floating Point Numbers in C

IAR can handle floating point in C, while SNAPpy cannot. There may be times where you may want to pass a floating point number back up to a SNAPpy function and then pass it to another C function later. This example shows how this can be done using SNAPpy string buffers as a data buffer to hold the float as binary data (not "3.14159", but using memcpy() to write the float to the uint8_t *, and just treat it as a buffer to carry the float around.

License

Copyright © 2016 Synapse Wireless, licensed under the Apache License v2.0.

About

Add floating point ability since snappy by default can't handle it right now.

Topics

Resources

Contributing

Stars

0 stars

Watchers

38 watching

Forks

Releases

Packages

Contributors

Languages