Accel demo not working correctly

General discussion on mikroPascal PRO for PIC32.
Post Reply
Author
Message
sgoum
Posts: 11
Joined: 21 Oct 2012 07:50

Accel demo not working correctly

#1 Post by sgoum » 07 Nov 2012 15:21

Hi
I'm trying to find out how the accelerometer on P32MX460F512L board wokrs.
When I upload the .hex file from the pascal Accel demo for pic32 axes Y,Z are not working correctly.
When I upload the .hex file from the microC Accel demo all axes work fine.

I have tried for hours and could not find where the problem is.

Please help

User avatar
janko.kaljevic
Posts: 3565
Joined: 16 Jun 2011 13:48

Re: Accel demo not working correctly

#2 Post by janko.kaljevic » 08 Nov 2012 09:37

Hello,

Thanks for noticing this.

Example for Pascal is corrected now and posted on libstock.
Please test the hex file from the attachment.

Best regards.
Attachments
Accel_Test.rar
(17.49 KiB) Downloaded 149 times

sgoum
Posts: 11
Joined: 21 Oct 2012 07:50

Re: Accel demo not working correctly

#3 Post by sgoum » 08 Nov 2012 10:10

It is working :)

Thank you

Post Reply

Return to “mikroPascal PRO for PIC32 General”