Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Can we have multiple 1-wire devices on single pin?

    It is quite doable, you just need to write your own code. Do a search of the forum - I know there is a code example because I've used it 8-9 years ago. There are no native commands in any language...
  2. Replies
    5
    Views
    1,074

    Re: Multiple problems with PIC16LF15313

    This also sounds like the MCLR pin may not be tied high.
  3. Replies
    27
    Views
    3,094

    Re: How to prevent variable going below zero?

    Re-read the single line I sent. I was not talking about PBP. I'm talking about representation of integers in a binary system. Read this article:...
  4. Replies
    27
    Views
    3,094

    Re: How to prevent variable going below zero?

    The convention used by most software is that if the most significant bit is set, then the number is negative.
  5. Re: Is it possible to make unidirectional serial port via 1 pin with PBP?

    There is nothing in the protocol that prevents one way only communications.
    I have done this many times and never had an issue.
    The receiver will need an interrupt routine to make sure nothing is...
  6. Replies
    7
    Views
    2,328

    Re: Value of temperature

    You did not post enough code that we can answer your question. Post all of your code.
  7. Replies
    3
    Views
    898

    Re: 1936 ra.7 i/o ???

    Usually when a single pin doesn't do what you expect it's a configuration error. A quick look at the datasheet suggests the only other possible use for the pin is OSC1/CLKIN. You should be able to...
  8. Re: Decoding variable into 4 digits of BCD, are there simple ways to this?

    from 0-9 hex and decimal are exactly the same so no "conversion" is required. The high nibble is really decoding the device since you need a pin for each device so you want binary 0001, 0010, 0100,...
  9. Re: Decoding variable into 4 digits of BCD, are there simple ways to this?

    The binary code you displayed is correct, however that is 82, not 52,
    52 would put "2" on the 4th digit AND the first digit as well. (the numbers are hex, by the way - not decimal)
  10. Re: Decoding variable into 4 digits of BCD, are there simple ways to this?

    Choose a port (A,B, or C). Connect the low 4 pins of the port to carry the number you want to display and connect those to the data pins of the CD4543BE. Then connect the 4 pins of the high byte to...
  11. Replies
    12
    Views
    3,992

    Re: CONFIG issues with 18F26K22

    Tumbleweed - You're right - I should have looked it up instead of going by memory.
  12. Replies
    12
    Views
    3,992

    Re: CONFIG issues with 18F26K22

    If you are really using a crystal then you need FOSC = LP (or the correct setting for a low power crystal with your device.)
    Your file is set for a medium power high speed resonator
  13. Replies
    11
    Views
    8,028

    Re: Serial to WiFi Wifi to virtual com port

    Just curious - why don't they meet your need?
  14. Replies
    22
    Views
    6,656

    Re: PWM and audio noise

    What are you using to connect to the jacks, how far apart are they, what does the board layout looks like, is there a ground plane, is there a decoupling cap on the PIC, how does the 9V ground relate...
  15. Replies
    22
    Views
    6,656

    Re: PWM and audio noise

    This is always caused by either the design or layout. Post the schematic and layout if you really want an answer.
  16. Replies
    15
    Views
    4,422

    Re: Unable to Open Include File

    Also I've found the file has to be in the same sub-directory as the program source code. Although I'm told you can specify the complete path, I've never tried that.
  17. Replies
    15
    Views
    4,422

    Re: Unable to Open Include File

    It's extremely unlikely to be your operating system. The most likely cause is a minor typo in the file name, or path. ( a"," instead of a "." for example can be hard to spot. Other than that, it's...
  18. Thread: Rs232 Hex Char

    by Charlie
    Replies
    3
    Views
    2,129

    Re: Rs232 Hex Char

    For starters, most of these are either control codes (which don't print anything), or codes that don't exist in ASCII at all (anything bigger than $7F). The only exception is $40 which is "@" . Are...
  19. Replies
    15
    Views
    3,427

    Re: Safely getting out of an interrupt

    A safer approach is to simply have the interrupt set a flag and return. You main program can be a tight loop that checks flags. When to detects the flag, it GOSUBs to the new location.
  20. Replies
    9
    Views
    2,673

    Re: EUSART vs. MSSP

    In practical terms, the device you want to talk to usually determines. If you are talking to a computer it will likely be RS-232 serial port you need the EUSART. If you are designing both ends, use...
  21. Replies
    67
    Views
    15,799

    Re: MicroCodeStudioPlus keeps crashing.

    It's not pointless if it helps find the problem. Nobody was suggesting that as a permanent solution. These problems are usually incompatibility with a driver somewhere.
  22. Replies
    3
    Views
    2,781

    Re: How to control the Si5351 pls ?

    Maybe I'll ask a broader question. The SI5351 device can generate a number of independent clocks, from a few Hz to over 100 MHz. Sounds pretty useful as a replacement for a VFO in radio projects. I'm...
  23. Replies
    3
    Views
    2,781

    Re: How to control the Si5351 pls ?

    Did you ever get this working?
  24. Replies
    9
    Views
    2,867

    Re: Pic16f18857 clock setup

    If it is blinking too fast, that would point to your clock speed being too high which is extremely unlikely. Are you absolutely sure your code is correct? Perhaps you should post your blink code.
  25. Replies
    5
    Views
    5,278

    Re: SEROUT Wi-Fi mode

    First, you need 3.3 V, so using MAX232 is a bad idea. MAX232 has 2 functions; invert the signal and boost the voltage. You do not want a bigger voltage! Run the PIC at 3.3V and you won't have to...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4