Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: MCS vs MPLAB 8

    by mpgmike
    Replies
    7
    Views
    1,952

    Re: MCS vs MPLAB 8

    What need do you feel XC8 would fill that PBP currently does not? I did migrate to MPLABX, but to gain access to 16-bit PICs (with XC16). That was what I had to gain.
  2. Replies
    1
    Views
    1,496

    Re: NBit Math Question

    You can use multiple Bytes, Words, and even Longs and manually manipulate them (the way ASM would do it). Then just start shuffling out the string, starting with either LOWBYTE or HIGHBYTE. A bit...
  3. Replies
    13
    Views
    1,937

    Re: PBP3 support for some 24F 16 bit devices?

    I found the best way to learn is to do. Microchip offers Development boards at widely differing price points. The cheapest way to get started is with one of their Curiosity Nano Development Boards,...
  4. Replies
    13
    Views
    1,937

    Re: PBP3 support for some 24F 16 bit devices?

    The ANSI C programming language has lots of cool tricks that let you do lots of ASM code function with simple commands. When I learned C, I used very basic transitions from BASIC to get the job...
  5. Replies
    29
    Views
    4,804

    Re: DT Ints not working on 16F18426

    Did you look at the DT Book of Interrupts linked 2 posts ago? In fact, the main page lists you as one of the contributors. The part I contributed focused on what to change to add new chips. Take a...
  6. Replies
    13
    Views
    1,937

    Re: PBP3 support for some 24F 16 bit devices?

    My suggestion is if you find the need for 16-bit PICs and dsPICs, take the plunge and learn how to use MPLABX and XC16. Microchip University has tutorials on these topics. It will involve a...
  7. Replies
    2
    Views
    796

    Re: u2 programmer suddenly stopped working?

    Make sure you have the newest U2 software. Just because you have the latest PBP3 doesn't mean the U2 Programmer automatically knows what to do with newer chips. Here is ME Labs' link for the U2...
  8. Replies
    29
    Views
    4,804

    Re: DT Ints not working on 16F18426

    Darrel Taylor's Instant Interrupts (DT_INTs) changed things for the PBP world. PBP Interrupts are Polled, not actually using the built-in Interrupt hardware. Using ASM somewhat defeated the reason...
  9. Replies
    13
    Views
    1,937

    Re: PBP3 support for some 24F 16 bit devices?

    16-bit support was PBP v2.xx or even v1.xx and for much older 16-bit parts. Anything worth using today has never been supported. When you look into the 16-bit architecture, it uses 16 Working...
  10. Replies
    14
    Views
    2,341

    Re: Which is most PBP-Friendly external ADC?

    It is called a Trace Inverter. Microchip has Reference Designs, as I'm sure TI and Analog Devices do. The quickest path to success is find a reference design.

    Microchip.com then Solutions in...
  11. Replies
    19
    Views
    3,177

    Re: Infrared HPWM setup

    For most LEDs or SSRs, I found 470 ohms offers a good compromise between response time and effectiveness.
  12. Replies
    45
    Views
    5,979

    Re: Leaves the mainloop???

    Another trick you might try is to initialize your SFRs, but put a PAUSE 100 before activating anything. This will give time for the power supply to stabilize. You said if you turn it off and turn...
  13. Replies
    45
    Views
    5,979

    Re: Leaves the mainloop???

    Just a shot in the dark; when I design a power supply for my PICs, I isolate the 5v (or 3.3 or whatever) regulator with a 10 ohm resistor from 12v (or whatever) and place a 10 uF and 0.1 uF cap on...
  14. Replies
    9
    Views
    4,320

    Re: PIC16F1779 settings for EUSART

    If I may make a suggestion; I noticed when you were trying to use PORTD for UART, you initialized your TX Pin low (LATD = 0). I initialize my UART TX Pin high, as that is the idle state. Secondly,...
  15. Replies
    143
    Views
    22,294

    Re: New project - MSFS C++ USB interface

    About 7 years ago I decided to get serious about Visual Basic (as opposed to C++) and bought 5 different books on the subject. I'm an old fart (56) and still like paper books. At any rate, about...
  16. Re: PIC12F675 at 20MHz ?? (Pic Basic Pro Compiler)

    Just a thought, since you're using an 8-pin PIC, look at the PIC16F18313. It offers a bunch of features and is probably cheaper than what you're using (unless you have a couple hundred on the shelf...
  17. Re: Using same button for entering/exiting some part of code?

    You could create a bit Flag. When the Button is pressed, the Flag is toggled. When you get to a reasonable point in Code1 Routine, check your Flag. If it has toggled (is now a 1 for example), use...
  18. Re: PIC12F675 at 20MHz ?? (Pic Basic Pro Compiler)

    Just looked at the Data Sheet, and best I can tell, it only offers one speed; 4 MHz.
  19. Re: 18F4550 programming failed using PICkit4 while verifying "User ID memory"

    You are not selecting "Erase User ID" but have selected "Program User ID". The Programming process only clears bits. If you have bits in your programmed User ID that are set, but that bit is...
  20. Replies
    143
    Views
    22,294

    Re: New project - MSFS C++ USB interface

    I'm still in limbo without access to my other laptop, but I modified the code so that if I wanted to debug the VB side without actually connecting, I would click "Cancel" and a new pop-up (which I...
  21. Replies
    143
    Views
    22,294

    Re: New project - MSFS C++ USB interface

    I have Visual Studio Pro 2015 (paid), VS 2017 Community (free), and VS 2022 Community on my computer. I've noticed many of the YouTube tutorials are using 2017, even though it is 2 versions old. ...
  22. Re: First attempt in over a decade at USB - HIDmaker FS2

    I worked with Bob on the PBP output on the FS, especially with the PIC16F versions. The number of Buffers are different than the PIC18F versions, along with addresses, etc. The version I got when I...
  23. Re: 18F4550 programming failed using PICkit4 while verifying "User ID memory"

    The U2 Programmer has a header button that allows you to set your CONFIG settings. Since your PICkit4 and U2 Programmers yield different Clock speeds, the U2 may be using a different default CONFIG...
  24. Re: Blinky on Lab-X1 twice as fast on 16F877 as on a 18F4550

    Don't you have to make one of the External Oscillator pins an Input in the TRISx Register? I'm on the road and can't look at the Data Sheet.
  25. Replies
    1
    Views
    1,381

    Re: clarification of SLEEP command?

    The High Speed Oscillator is shut down in SLEEP Mode, therefore the WDT relies on the 32 kHz LFINTOSC. This can be internal or external. You didn't mention which PIC you're using, but the WDT will...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4