Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Re: Simplest way to write to USB stick or TF/SD card with PBP?

    Look at the SERIN2/SEROUT2 commands in the manual.
    They allow you to specify optional flow control pins which you would connect to the RTS/CTS pins of the module you're using if it has hdw flow...
  2. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Yes, the MSSP does both.
  3. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Well, that's going to make I2C operations about ten times slower than what it could be running at.

    A while back you mentioned using software SPI and complained about it being slow too.
    You'd...
  4. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    If you're running at 8MHz then no wonder everything is slow.

    32MHz (or 64MHz for something like an 18F26K22) would definitely be faster, way faster.
    The I2C won't necessarily be a lot faster on...
  5. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    If you're trying to write something totally generic that can be used with all the 8-bit PIC's then the most generic solution is to use the bit-banged I2C routines.

    If you want a faster method then...
  6. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    In that case, if you're looking for speed then an I2C EEPROM isn't the best of choices.

    I have no idea how slow the bit-banged I2CREAD is (probably pretty slow).
    A 24C256 isn't all that slow, but...
  7. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Would 1K of EEPROM be enough for what you're doing?

    If so, switch to a pic18, like an 18F26K22. It'll be MUCH faster than trying to read from an I2C EEPROM.
  8. Replies
    12
    Views
    913

    Re: Pic18f47q43 i/pt 44pin tqfp

    They should show up. I've had this happen for a number of chips lately... 0 stock but I can still get free samples.

    I have a feeling they have more stock than they're letting on, probably for...
  9. Replies
    12
    Views
    913

    Re: Pic18f47q43 i/pt 44pin tqfp

    I don't know if it's different for AUS, but for the US MicrochipDirect has a "sample" request that allows you to get up to two devices x qty 3 of each every 30 days.

    It's showing the PIC18F47Q43...
  10. Re: How to set port to high impedance? TRIS seems not to be working.

    It sounds like you are describing the R-M-W (read-modify-write) effect that you get when setting one bit of a PORT output.
    When you do a bit operation on a PORT, the entire PORT is read, the bit is...
  11. Re: MicroCode Studio and Microchip ICD3 Parameters

    I meant to open a windows command prompt and run ICD3CMD.exe from the command line so you can play around with the various options and see what the results are.
    As I said, you don't get much output...
  12. Re: MicroCode Studio and Microchip ICD3 Parameters

    For the MCS IDE, if you tack on a "-B" that puts it into batch mode and it should leave the command window open.
    Here's an example command line:
    -P$target-device$ -F$hex-filename$ -W -B

    ICD3CMD...
  13. Re: MicroCode Studio and Microchip ICD3 Parameters

    Did you look in the file "Readme for RealICECMD_ICD3CMD.htm", sections 8 (command line options) and 11 (examples)?

    They're all pretty similar...
  14. Re: MicroCode Studio and Microchip ICD3 Parameters

    Have you setup the commandline options for icd3cmd? They can be found in the MPLABX folder docs\Readme for RealICECMD_ICD3CMD.htm

    See http://www.picbasic.co.uk/forum/showthread.php?t=23910 for...
  15. Replies
    119
    Views
    38,790

    Re: SSD1306 INCLUDE for PBP3

    So where in the datasheet does it tell you what the PLL does while it's "not working"?

    My point is that while you can enable the PLL in the config, it's "subject to oscillator requirements", which...
  16. Replies
    119
    Views
    38,790

    Re: SSD1306 INCLUDE for PBP3

    Which part is pretty clear... the statement "subject to oscillator requirements" and parameter F10 (4-8MHz), or that the config bit enables the PLL?
  17. Replies
    119
    Views
    38,790

    Re: SSD1306 INCLUDE for PBP3

    richard's right, but I wonder if it might be safer to start off with '__config _PLLEN_OFF' and enable it with OSCCON when you change the freq.

    Reasoning: the PLL is spec'd for an input of...
  18. Re: How you directly access serially chained devices, like LEDS, shift registers, etc

    If you just need more RAM for a display buffer there are much faster devices than an external EEPROM, like the 23LC512 serial SPI SRAM.
    Also, since SHIFTOUT runs at approx 50KHz, you could even...
  19. Replies
    9
    Views
    1,298

    Re: When Driving An Indicator L.E.D.

    Once you figure out how an LED works, then you can skip any additional circuitry you have driving the MOSFET relay LED input, and just treat it like a normal LED.
    All you need is a resistor in...
  20. Re: "Stretching" a byte variable into two byte variables?

    If you start off with B=0 and C=0 you can skip half those statements and only do the ones where A.x = 1
  21. Re: How to do bitwise shift across several variables/array members?

    Yes, assuming you really do want a shift and don't want to rotate the value shifted out of B back into the MSB of the array.
    There's no need to copy the array bytes to A and B, but if it helps you...
  22. Replies
    27
    Views
    3,911

    Re: Multiplying with 11 using PIC

    What do you mean by this?

    Do you want the pic to generate a square wave output from 11Hz to 11MHz on an output pin?
  23. new PIC CLCDesignerTool with simulator and PIC18F support

    For those with an aversion to MPLABX, or who just want a simple, easy to use standalone tool
    there is a new, updated version of the old CLCDesignerTool available.

    CLCDesignerTool V4 adds features...
  24. Replies
    3
    Views
    1,081

    Re: SEROUT loop with pause

    Completely unnecessary, just like it is with python on the PC.
  25. Replies
    4
    Views
    2,002

    Re: 16F1705 internal Opamp woes

    OPA1CON = %1100000 ' Opamp 1 Enabled, SP set.

    Isn't that missing a bit?
    Try


    OPA1CON = %11000000 ' Opamp 1 Enabled, SP set.


    For OPAMP1 you have
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4