Touch Sensor


Closed Thread
Results 1 to 3 of 3

Thread: Touch Sensor

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Ok I now understand what Chip Select is !

    But this dont Help me to find what the Problem is.

    Regards Pesti.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    I dont have try enough,I have now the solution .

    Maybe some one have the same Problem !

    For example:

    ReadID:
    DatenRX = 0
    Low PortB.2 'Chip Select
    Pauseus 1
    Shiftout PortB.4,PortB.3,5,[Command.highbyte,Dummy] 'Send Command Byte
    Pauseus 130 'Wait
    Shiftin PortB.4,PortB.3,6,[DatenRX.highbyte,DatenRX.lowbyte] 'Receive Data from Slave
    Pauseus 1
    High PortB.2 'Chip Select
    Pause 100
    Hserout ["Command = ",DEC Command.lowbyte,",","Chip ID = ",HEX2 DatenRX.highbyte,HEX2 DatenRX.lowbyte,13]
    Pause 2000
    Command = 0
    Goto Main

    Regards Pesticida

Similar Threads

  1. Need a cheap touch sensor idea.. here it is
    By mister_e in forum Code Examples
    Replies: 20
    Last Post: - 16th April 2016, 23:42
  2. Any Ideas for a cheap touch sensor??????
    By rsocor01 in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 19th October 2013, 01:33
  3. PICBASIC PRO-coding for wireless sensor node
    By syazila in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th February 2009, 01:05
  4. LED Touch Sensor
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd April 2008, 02:15
  5. Replies: 6
    Last Post: - 18th January 2008, 09:17

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts