Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Mike, K8LH; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    24
    Views
    16,995

    Re: NCO Calculator

    If it's not stepping on your toes, would you mind if I created a stand-alone NCO Calculator app', much like my SPBRG Calculator app'? I just need an accurate tool people can use on a couple upcoming...
  2. Replies
    24
    Views
    16,995

    Re: NCO Calculator

    Anyone know if mpgmike ever fixed the errors and updated his nco calculator app'?
  3. Replies
    19
    Views
    14,905

    Re: How do you drive a Serial LCD?

    Better late than never? Here's firmware for the 12F683 version of the serial backpack.

    Cheerful regards, Mike


    ;******************************************************************
    ; ...
  4. Re: Most memory saving way for comparing 98 preset values with ADC input?

    Gentlemen... Does PBP provide a way to access Special Function Registers, like FSR0L, FSR0H, INDF0, etc., directly?
  5. Replies
    17
    Views
    8,737

    Re: Multiplexer address control..

    Oops! I didn't think of that...
  6. Replies
    17
    Views
    8,737

    Re: Multiplexer address control..

    I like pedja089's solution which is probably about as simple, efficient, and elegant as you can get with pure PBP code. He might test clearing the four LATB bits and then setting them based on if...
  7. Replies
    17
    Views
    8,737

    Re: Multiplexer address control..

    t'would be simpler/faster still if you were to use the B3..B0 pins as both the 'control' variable and 'control' I/O;


    RES_VECT CODE 0x0000 ; processor reset vector
    GOTO ...
  8. Replies
    17
    Views
    8,737

    Re: Multiplexer address control..

    if I may...


    RES_VECT CODE 0x0000 ; processor reset vector
    GOTO START ; go to beginning of program
    ; TODO ADD INTERRUPTS HERE IF USED
    MAIN_PROG CODE ...
  9. Replies
    16
    Views
    15,530

    Re: Calculate tuning value for the AD9850 DDS.

    Very interesting. Thank you. I'm not a PBP user so I had no idea inserting an assembly code function into a PBP program was that easy.

    I suspect you're coding for an 18F which has RRCF and...
  10. Replies
    16
    Views
    15,530

    Re: Calculate tuning value for the AD9850 DDS.

    Yes, in XC8 that's how you would address the "local" variables (c, f, and n) using assembly language.
  11. Replies
    16
    Views
    15,530

    Re: Calculate tuning value for the AD9850 DDS.

    Here's a slightly optimized version of the AD9850 calcFTW() function (XC8) from the previous post. This version is smaller and nearly 100 cycles faster weighing in at 42 words and 665 cycles.

    I...
  12. Replies
    16
    Views
    15,530

    Re: Calculate tuning value for the AD9850 DDS.

    I enjoyed your article, Henrik, but I'm shocked at the processing overhead. I wrote and tested a simple calc_ftw() function in XC8, really not much more than a basic 32x32 multiplication routine,...
  13. Replies
    48
    Views
    21,150

    Re: SSD1306 INCLUDE for PBP3

    I didn't realize there were pull-up resistors already installed on the display module. I pulled the 3.6k resistors and the display works fine. My circult and display are running on 5v.

    Thank you...
  14. Replies
    48
    Views
    21,150

    Re: SSD1306 INCLUDE for PBP3

    Richard, may I ask if you did anything special to run the SSD1306 display and I2C interface at ~2.6-MHz, please? I'm amazed that my setup (on a solderless breadboard) is running without any problems...
  15. Re: Nokia lcd include , small footprint to suit pic16's

    You're very welcome, Sir. And thank you for all the help and hard work you've provided.

    BTW, I'm liking this 128x32 I2C SSD1306 OLED display a lot... With built-in RAM for a 128x64 display, you...
  16. Re: Nokia lcd include , small footprint to suit pic16's

    That's wierd. The tables show up in the LST file and in the HEX file but not in the Program Memory window...

    Ok, section 6.2.9.3.4 in the XC8 User's Guide describes the PSECT "delta" parameter...
  17. Re: Nokia lcd include , small footprint to suit pic16's

    Hi Richard.

    I threw a couple PSECT tables into an XC8 program for an 18F14K22 and when I look at the .LST file it seems XC8 is avoiding those tables just as it should.

    ...
  18. Re: Nokia lcd include , small footprint to suit pic16's

    Is this a problem with PIC18 only, Richard? I haven't tried using a PSECT on PIC18, yet...
  19. Re: Nokia lcd include , small footprint to suit pic16's

    Richard & gang... Just wanted to mention that my prototype board for the 5110 display works great and my "minimal" XC8 demo program ended up using 370 words of memory, including 240 words for the...
  20. Replies
    48
    Views
    21,150

    Re: SSD1306 INCLUDE for PBP3

    Thank you for posting an SSD1306 example, Richard. I'd like to bring up my 128x32 OLED display using a 16F1823 and XC8 with a 'retro' TIL311 type font.

    Cheerful regards, Mike
  21. Re: Nokia lcd include , small footprint to suit pic16's

    Congratulations, Richard. Have fun tomorrow...
  22. Re: Nokia lcd include , small footprint to suit pic16's

    Ok, I'm almost ready to play with real hardware. I located my old 5110 display and an old 5110 test board that I had started to assemble (below). It looks like I need to solder a few wires onto the...
  23. Re: Nokia lcd include , small footprint to suit pic16's

    Richard, here's something fun... Someone over on the MrExcel forum helped me with a VBA macro that allows you to toggle the value in a cell within your 10x16 matrix between "null" and "1" by simply...
  24. Re: Nokia lcd include , small footprint to suit pic16's

    Nice work, Richard. Bravo!

    I finally imported that Noritake 10x14 Font into Excel today. It took a bit of work. The Noritake Font file was 1920 separate "retlw 0x00" type lines. Not an ideal...
  25. Re: Nokia lcd include , small footprint to suit pic16's

    Nice work, Richard. This stuff is addicting...

    I worked through my problems with XC8 and have put aside the "minimal overhead" 5x7 project for now (stopping at 370 words total). Now I'm lookin'...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4