cant set tris on pic32mx534

General discussion on mikroPascal PRO for PIC32.
Post Reply
Author
Message
Dany79
Posts: 12
Joined: 11 Jun 2015 15:39
Location: Canada

cant set tris on pic32mx534

#1 Post by Dany79 » 22 May 2019 18:37

i cant set gpio tris

Code: Select all

program MyProject;

{ Declarations section }

begin
  trisa:=0;
end.
Attachments
tris.jpg
tris.jpg (595.46 KiB) Viewed 1858 times

hexreader
Posts: 1785
Joined: 27 Jun 2010 12:07
Location: England

Re: cant set tris on pic32mx534

#2 Post by hexreader » 22 May 2019 19:05

That PIC has no PORTA pins, so no LATA or TRISA registers


.... and definitely no "trisa" register.
Start every day with a smile...... (get it over with) :)

Dany79
Posts: 12
Joined: 11 Jun 2015 15:39
Location: Canada

Re: cant set tris on pic32mx534

#3 Post by Dany79 » 22 May 2019 19:44

m'y fault i look the bad page on the datasheet i took the io configuration for the pic32mx534L and i use the pic32mx534H,

Thank you for your help hexreader

Post Reply

Return to “mikroPascal PRO for PIC32 General”