Page 1 of 1

MMA8452 Errors when generating C source code

Posted: Tue Dec 06, 2022 6:52 am
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 704 times
err2.jpg
err2.jpg (86.39 KiB) Viewed 704 times
err3.jpg
err3.jpg (76.51 KiB) Viewed 704 times

Re: MMA8452 Errors when generating C source code

Posted: Tue Dec 06, 2022 8:38 am
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.

Re: MMA8452 Errors when generating C source code

Posted: Tue Dec 06, 2022 10:47 am
by Terminator_123
thanks, it worked

Re: MMA8452 Errors when generating C source code

Posted: Wed Dec 07, 2022 7:31 am
by medelec35
That's great.
Thanks for letting me know.