MMA8452 Errors when generating C source code

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Terminator_123
Posts: 2
http://meble-kuchenne.info.pl
Joined: Sun Dec 04, 2022 12:20 pm
Been thanked: 1 time

MMA8452 Errors when generating C source code

Post by Terminator_123 »

Hi,
I use the MMA8452 with the ATtiny2313 microcontroller (and tested with pic16f628a). I get an error message when generating code C. I may have found an error, see the attached screenshots
err1.jpg
err1.jpg (27.01 KiB) Viewed 689 times
err2.jpg
err2.jpg (86.39 KiB) Viewed 689 times
err3.jpg
err3.jpg (76.51 KiB) Viewed 689 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: MMA8452 Errors when generating C source code

Post by medelec35 »

Hello.
Thank you for the spot.
I have replicated and fixed the issue, and the component will be pushed onto the update system as soon as possible.
If you would like to try the components before the updates are pushed.
Browse to this location using file explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

C:\ProgramData\MatrixTSL\FlowcodeV9\Components
Replace the existing file with the attached file.
If Flowcode is already open, then you will need to reload your project for the new components to work
If you run any component updates, then the components you added will be overwritten with the updated version.
Attachments
Accelerometer_MMA8452Q.fcpx
(6.37 KiB) Downloaded 31 times
Martin

Terminator_123
Posts: 2
Joined: Sun Dec 04, 2022 12:20 pm
Been thanked: 1 time

Re: MMA8452 Errors when generating C source code

Post by Terminator_123 »

thanks, it worked

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: MMA8452 Errors when generating C source code

Post by medelec35 »

That's great.
Thanks for letting me know.
Martin

Post Reply