Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: MIDI over USB

    by mpgmike
    Replies
    10
    Views
    2,704

    Re: MIDI over USB

    According to Jan Axelson's "USB Complete" book, MIDI transfers use the Audio Class with bulk transfers. MIDI standard carries asynchronous data at 31.25 kbps. Windows provides wdma_usb.inf and...
  2. Replies
    3
    Views
    115

    Re: receive and display strings

    Look in the PBP Manual under LCDOUT
  3. Replies
    5
    Views
    384

    Re: Voltage Question

    If not already committed to this particular MOSFET, try finding one with lower Gate/Source requirements. There are many with <1 volt needed to turn it on.
  4. Replies
    12
    Views
    410

    Re: Port Fall>Rise & Rise>Fall time

    Nuts and Volts published an article recently covering this topic of scope probes. I remember the scope images from the article and how different probes produced RADICALLY different patterns. I was...
  5. Replies
    12
    Views
    410

    Re: Port Fall>Rise & Rise>Fall time

    Are you determining the rise/fall times by the output frequency?!? You need to look at a scope pattern and check the slope of the digital square wave.
  6. Replies
    12
    Views
    410

    Re: Port Fall>Rise & Rise>Fall time

    I'm not sure if Fosc setting would affect rise/fall times. Try playing with Fosc and see what happens.

    Second thought; are you writing to PORTB or LATB? Writing to PORTx initiates...
  7. Replies
    6
    Views
    373

    Re: ESP8266 wifi module?

    Are you wanting to know specific information or just fishing to see if anybody ever used the ESP8266? If you are wanting help, you might want to offer a question regarding your project. Depending,...
  8. Replies
    1
    Views
    239

    Re: How to detect USB Attached/detached

    The USB connector has 4 pins; D+, D-, Gnd, and Vusb. If you have voltage on Vusb, you are connected. Dedicate one of your pins for detecting Vusb.
  9. Replies
    7
    Views
    797

    Re: Au full quiet out rear..

    Thank you Ioannis. I just got lazy I suppose.
  10. Replies
    7
    Views
    797

    Re: Au full quiet out rear..

    A few of us took some time to document not only how to USE DT Interrupts, but how to MODIFY them as well:

    http://dt.picbasic.co.uk/INT16/Customisation
  11. Replies
    7
    Views
    797

    Re: Au full quiet out rear..

    I forced myself to learn to program in C because ME Labs didn't update for the new PICs last year; I needed a PIC16F18426 (introduced in 2017) for many projects (fell in love with that one!). At...
  12. Replies
    14
    Views
    929

    Re: String matching?

    You could create a SELECT CASE where you CASE: in alphabetical order. For multiple key words starting with the same letter, use IF/THEN clauses to sort through them. SELECT CASE will parse through...
  13. Replies
    22
    Views
    9,712

    Re: Darrel's Multiple Software PWM

    I just happen to be doing a project with the PIC18F46K42 so it's fresh on my mind. It has 4 CCP channels capable of outputting PWM, plus it has 4 PWM channels. All 8 channels can be controlled...
  14. Replies
    22
    Views
    9,712

    Re: Darrel's Multiple Software PWM

    In combination with multiple CCP/PWM modules, modern PICs have DSM and CLC engines that can combine multiple PWM cycles (at differing frequencies & DC%) into a single output signal.
  15. Replies
    15
    Views
    1,117

    Re: Revisiting Timers & Time Stamps

    Just for kicks, make sure Timer 1 is Off, clear TMR1H_L, then turn it on. Pause 65000, turn Timer 1 Off, then read TMR1H_L. See what you get. You may be eating up a few milliseconds (8 ms) doing...
  16. Replies
    23
    Views
    1,604

    Re: Is it possible to make LCDOUT asynchronous?

    In C, most every line of code is terminated with a semicolon( ; ). Clauses are grouped between curly brackets ({ }) Let's look at one of the clauses:


    while (running) {
    ...
  17. Replies
    23
    Views
    1,604

    Re: Is it possible to make LCDOUT asynchronous?

    I remember several years ago I was feeling quite confident with my PBP skills. I ran into an issue where the PBP command set was inadequate for my needs, sort of like LCDOUT is for you right now. ...
  18. Replies
    56
    Views
    16,744

    Re: Stable Adc Reading Routine

    An approach I use to reduce UART transmissions of redundant data is to use a simple filter:



    AdcVal VAR BYTE
    OldAdcVal VAR BYTE

    ;Do ADC read into AdcVal
    IF AdcVal != OldAdcVal THEN
    ;Do...
  19. Replies
    56
    Views
    16,744

    Re: Stable Adc Reading Routine

    Do your division first looking at the integer result (796 / 10 = Result) then do it again looking at the remainder/modulus (796 % 10 = Modulus). If modulus >= 5 Then Result += 1.

    That will give...
  20. Re: Generate a non-blocking pulse with an Interrupt Service Routine

    CuriousOne, the original poster (boroko) was using a PIC12F683 with only basic Timers 0/1/2. I don't know if you have spare timers to use for such an interrupt, but the newer PIC12_6F1xxxx parts can...
  21. Replies
    3
    Views
    466

    Re: Annoying MicroCode Studio quirk/issue

    Charles told me that the automatic switching works for just about all PICs except the PIC16F17xx series. Something about the way the Registers are addressed differently on those chips.
  22. Replies
    10
    Views
    1,314

    Re: Help with Using the Catalex MP3 Player

    My best guess is that you may occasionally get dial pulses while the software is somewhere other than the top of "dial:".

    You could use CASE SELECT instead of a bunch of IF/THEN clauses. With...
  23. Re: Glitches when changing portD seen on other ports

    You wrote to LATD but are writing to PORTE. Write to the LAT and read from the PORT. Writing to the PORT involves a READ - MODIFY - WRITE sequence that might be exacerbating your power supply...
  24. Replies
    10
    Views
    1,294

    Re: Nextion Touchscreen LCD User Interface

    It was supposed to be the current Nuts & Volts, but to my surprise, my article wasn't there. I don't use the SEROUT command, so was just going from the book. As for creating your own "command...
  25. Replies
    2
    Views
    660

    Re: 18F4680 Internal Oscillator

    This may or may not get you where you want to be, but if you go to C:\\Programs(x86)\PBP3_1\DEVICE_REFERENCE you will have a list of every PIC processor PBP can program. Click on your 18F4680. What...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4