Number or PORT real name or Alias to pin it has to work
Have a look to section 4.11, or in MCS Help topics>>PICBASIC PRO Basics>>> Pins
To me, real port name (PORTB.3) or aliases (DO) is more valuable than pin #.
But... it's me
Code:SS var PORTB.1 ' ISD4002 SS pin SCLK var PORTB.2 ' ISD4002 SCLK pin MOSI var PORTB.3 ' ISD4002 MOSI pin MISO var PORTB.4 ' ISD4002 MISO pin ' ' ' ' ss = 0 shiftout MOSI,SCLK,LSBFIRST,[ISDword\16] ss = 1 ' ' ' ' ss=0 shiftin miso,sclk,lsbpre,[isdpointer\16] ss=1
Bookmarks