877A & 16 Inputs to be monitored


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default Re: 877A & 16 Inputs to be monitored

    Thanks for the info. The On DEBUG seems very useful but will it work if I am DEBUGIN for 5 seconds in the main loop. I am trying to make a security system SMS based in which the 877A keeps checking the arrival of a text message in the main loop by polling the GSM module every few seconds and waits for an "OK" or other message from the module and does allow 5 second for the GSM module to respond.

    Code:
    				
    main: 
    DEBUG "AT+CMGR=",DEC c,13,10
    DEBUGIN 5000,main,[WAIT("+"),STR code\5\13, SKIP 15,STR num\13\13, SKIP 27,STR sms\25\13]
    .
    .
    .
    .
    .

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: 877A & 16 Inputs to be monitored

    No, of course not.
    But your request didn't say anything about 5 second SERIN commands.

    If you use the 16F877a's USART, then it doesn't have to sit there twiddling it's thumbs waiting for data to come in.
    And can continue on monitoring the inputs.

    Answers can only be as complete as the request made for it.
    DT

Similar Threads

  1. 877a and SPI
    By tico in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 14th April 2007, 02:57
  2. 877A AtoD config problem?
    By ttease in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st April 2007, 16:57
  3. Use the PIC 16f877 or 877A instead of shift registers.
    By tsanders in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th October 2006, 17:23
  4. dip switchs & inputs
    By grounded in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 19th September 2006, 13:37
  5. PicBasic Pro Compiler for 877A
    By iwill920ya in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 31st May 2004, 04:10

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