Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: jellis00; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    278
    Views
    320,778

    Question re: DT_INTS

    Darrel, I have discovered that when I am using INT2_INT interrupt source from DS1337 to the 18F4550 that I have to have the INTCON2 statement per below code...otherwise the interrupt doesn't work. ...
  2. Replies
    278
    Views
    320,778

    Got it!

    I am ashamed to admit I missed that in terms of how PBP handles arrays. Probably because I hadn't worked with arrays in PBP until version 2.6 finally supported them.
    I now understand what I have to...
  3. Replies
    278
    Views
    320,778

    Question2??

    That is my problem...I don't know how to structure the code to write each array element of arrData(i,j,k) to the USBTXbuffer. Each of the elements of the USBTXbuffer is a single byte, whereas each...
  4. Replies
    278
    Views
    320,778

    A couple of more questions re: USBDemo

    Darrel, first of all let me commend you on they way you created the USBdemo. It has been a god send to me to save time in getting my application to work with a USB interface. However, I have a...
  5. Replies
    278
    Views
    320,778

    Made changes per your suggestions...now an assembly error

    :(
    OK, so I made changes to my code per your suggestions (see partial code below) including an IF Plugged =1 test in the Main loop to pole for USB connection and go to my USB servicing procedure...
  6. Replies
    278
    Views
    320,778

    Bad News!

    So what your saying is I can't have the MCU in SLEEP mode and wake it up with an intterrupt when the USB cable is connected? Unfortunately, that is exactly what we wanted to do to save battery power...
  7. Replies
    278
    Views
    320,778

    One more time

    Sorry to be such a pest, Darrell, but am now trying to adapt your USBdemo_DTID so that it will go into USB connection mode as an interrupt when the USB cable is connected, permitting me in the...
  8. Replies
    278
    Views
    320,778

    Working as advertised! Another question.

    Turns out you can enable all the whole bank of LED's on PORTC and it keeps working. You can then see the LEDs on RC1 and RC2 vary in brightness as you change the sliders.


    Except for the LEDs...
  9. Replies
    278
    Views
    320,778

    Data from PIC works...data to PIC doesn't

    Darrel,
    Everything compiles/assembles/programs in my EasyPic6 configuration with 18F4550 (8 MHz crystal), and it does run with Steve's VB6 GUI, but only for data from the PIC....data to PIC side of...
  10. Replies
    278
    Views
    320,778

    Working!..a couple of more questions.

    Thanks, Darrel...this led me to the problem. The EasyPic6 has dip-slide switches that let you connect LEDs to the A/E, B, C, and D ports for troubleshooting. I had the switch selected for Ports B...
  11. Replies
    278
    Views
    320,778

    Made config change..compiles, nothing happening

    Tried both your HIDmonitor and Steve's VB6 routine after programming and power/resetting the 18F4550 . Although I hear a low "click" and see the USB icon appear in my WINDOWS tray when the USB cable...
  12. Replies
    278
    Views
    320,778

    Compiles and programs but USB doesn't connect

    I made these changes to the BasicUSB.pbp code for use with 18F4550 as you can see in my listed code below. It compiles OK into a .hex file which I then programmed into the 18F4550 using the PicFlash...
  13. Replies
    278
    Views
    320,778

    This time with the list

    [QUOTE=jellis00;80428
    Attached .txt document is a list of the _CONFIG settings for the 18F4550 from its corresponding P18F4550.INC file in MPLAB folder.QUOTE]
    Forgot to attach with previous post.
  14. Replies
    278
    Views
    320,778

    Here are the 18F4550 _CONFIG settings

    [QUOTE=Darrel Taylor;80423]OzGrant,
    See this thread about how to fix the configs ...
    http://www.picbasic.co.uk/forum/showthread.php?p=6775#post6775

    Attached .txt document is a list of the...
  15. Replies
    278
    Views
    320,778

    Try this

    Make sure you commented out the _config statements in the 18F4550.inc file and resaved it. If you don't the _config statements in the USBDemo code will give this type of error. I don't have any...
  16. Replies
    278
    Views
    320,778

    Solved problem! Would still like answer to other questions.

    The problem resolved itself and I don't know exactly why. The only changes I made were to make sure the pull-down resistors were enabled properly and to connect the RA0 pin to the potentiometer for...
  17. Replies
    278
    Views
    320,778

    Now working except for RA4 pushbutton??

    Darrell, thanks to your help I now have the USBDemo running on my EasyPic6 and everything appears to work except an annomaly with the RA4 pushbutton. When I initially power up, the VB6 window shows...
  18. Replies
    278
    Views
    320,778

    Compiles OK now!

    Thanks, Darrel. That fixed it and it now compiles. Sorry I didn't read your comment more closely about commenting out this statement.
    My next step, now that it will compile, is to configure my...
  19. Replies
    278
    Views
    320,778

    One statement causes compile error

    Darrel, I followed steps you listed explicitly and then tried to compile with PBP 2.6. Got the following error:
    " ERROR line 81: Redefinition of VAR. USBDemo.pbp]"
    which I don't understand...
  20. Replies
    278
    Views
    320,778

    Schematic link broken...can you provide??

    Steve, the link to the PC interface schematic as posted in your original is broken. Can you please give me a valid link or email me the schematic at [email protected]? I want to check your...
Results 1 to 20 of 20