Math is demanding and register-hungry. Float or 32b math does require a lot of registers, only 12 will survive.
Math is demanding and register-hungry.
Float or 32b math does require a lot of registers, only 12 will survive.
Such programming tasks are certainly better solved with 32-bit controllers and high-level languages.
Why, it works like a charm- I am using Float to handle BME280 routines.
to handle BME280 routines
There are enough registers available for this purpose.
Such tasks should always be interruptible tasks of a main program.
I divided one sec to 32x32ms, so that everything can fit in an appropriate chunk. Handling of BME280 does needs 9ms with 8M clock, all that Temp/Baro/Humi floats.
Such programming tasks are certainly better solved with 32-bit controllers and high-level languages.
- Log in or register to post comments
TopWhy, it works like a charm- I am using Float to handle BME280 routines.
- Log in or register to post comments
TopThere are enough registers available for this purpose.
Such tasks should always be interruptible tasks of a main program.
- Log in or register to post comments
TopI divided one sec to 32x32ms, so that everything can fit in an appropriate chunk. Handling of BME280 does needs 9ms with 8M clock, all that Temp/Baro/Humi floats.
- Log in or register to post comments
TopPages