Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds; generated 40 minute(s) ago.

  1. Replies
    9
    Views
    24,348

    Re: Protection Circuit

    Saw this online.

    May be of some help.

    http://www.instructables.com/id/Reverse-polarity-protection-for-your-circuit-with/
  2. Replies
    8
    Views
    10,955

    Re: DHT Sensor Library

    Sorry for the delayed response.

    Here is the library for PBP3.

    8249

    Enjoy.
  3. Replies
    14
    Views
    8,379

    Re: Variable not getting value from array...?

    That's correct Henrik.


    WRITE Address,{WORD}{LONG}Value

    WRITE mem_index, WORD temp
  4. Replies
    19
    Views
    10,735

    Re: DECEPTIVE SITE AHEAD warning for this site?

    Site shows up as a phishing site on an Apple device still.
  5. Replies
    10
    Views
    7,954

    Re: PCA9685 control

    Have you thought of using a Flag variable?
    During your checking routine, set a Flag if you need to write to the PCA.
    Check the Flag to determine if you need to do the gosub to write to the PCA chip.
  6. Re: 1ms Elapsed Timer Demo with DT's Instant Interrupts

    Heckler,

    I'll take a look when I get a few moments. See if I can set it up on some hardware and give it a test run for a while.
  7. Re: Working out hours and minutes from a word variable

    Scampy,

    Use the regular Division "/" operator for the Hours computation and use the Modulo "//" operator for the minutes computation.

    lightsetHR1 = (CH1_on_time / 60)
    lightsetMN1 =...
  8. Replies
    13
    Views
    9,753

    Re: Temperature Indicator Usage

    Also the DS refers to a separate Application Note regarding this. AN1333
  9. Replies
    9
    Views
    4,982

    Re: Simple question about While Wend...

    What PIC MCU are you using?

    Should you be using LATB register instead of PORTB register for your High and Low statements?
    Read modify write may be an issue.
  10. Replies
    2
    Views
    4,034

    Re: DHT22 interface problem

    You can also look at this thread.
    http://www.picbasic.co.uk/forum/showthread.php?t=19975
  11. Replies
    3
    Views
    3,064

    Re: Big thank you to TABSoft

    Thanks for the kind words.
    It was definitely fun.
    Got to use some of that old/stored datacom info clogging up my brain and got to use my long arms to stretch across the ocean. :p

    I had never...
  12. Replies
    10
    Views
    23,106

    Re: Using external EEprom - need a little guidance

    Scampy,

    A couple of things for I2CWrite for sEEPROMs.

    1. For the Address, per the manual do not use Constants. Use a variable of the size required by the EEPROM. A 24c256 requires a Word...
  13. Replies
    141
    Views
    113,919

    Re: A tft addin for pbp3

    Richard,

    Great amount of work on this library.
    I have to hand it to you, a lot of coding you worked out there.

    For my own edification, I have a question for you.

    In "TFT_SPI.PBPMOD" you...
  14. Replies
    32
    Views
    32,037

    Re: USART2 setting for 1MHzCPU + 4PLL

    Check the PBP manual for the supported DEFINE OSC values.
  15. Replies
    32
    Views
    32,037

    Re: USART2 setting for 1MHzCPU + 4PLL

    Just as Richard said.

    Look at FIGURE 3-1: PIC18F66K80 FAMILY CLOCK DIAGRAM in the Datasheet.
    Look for the 4xPLL block and you will see what feeds into it.

    That should make it clear.
  16. Replies
    32
    Views
    32,037

    Re: USART2 setting for 1MHzCPU + 4PLL

    Try again. :smile:

    Config bits are not in the original post, that's why I asked.

    Suggest you determine how you have the OSC mode configured, then look at the OSC block diagram and see what...
  17. Replies
    32
    Views
    32,037

    Re: USART2 setting for 1MHzCPU + 4PLL

    Just where I was headed Richard, hence my question.
    The registers/config bits would show how he is setting up the clock.
  18. Replies
    32
    Views
    32,037

    Re: USART2 setting for 1MHzCPU + 4PLL

    Can you post your currently used config bits, OSCCON, OSCCON2 and OSCTUNE settings?
  19. Replies
    32
    Views
    32,037

    Re: USART2 setting for 1MHzCPU + 4PLL

    I must have missed it.....

    What PIC?
  20. Replies
    15
    Views
    12,026

    Re: Error Compiling with PbP 3

    Try this link about meConfig.
  21. Replies
    19
    Views
    36,259

    Re: Wierd result when inverting an input

    No, not really.
    That has been the point of this discussion.

    We would not want PBP to do the interim calculations as a byte, we would want PBP to do them as a bit.

    The issue is that in this...
  22. Replies
    7
    Views
    5,023

    Re: Serial over Blue Tooth

    For the 18F4580 @ 40MHz you have several options for 9600. I would try option 1 with the best %error rate.

    1. Synch = 0, BRGH = 0, BRG16 = 1, SPBRG = 1040 (dec) 0.06% error rate

    2. Synch = 0,...
  23. Replies
    7
    Views
    5,023

    Re: Serial over Blue Tooth

    Sorry, autocorrect. :-0

    Can you setup your terminal program to receive in hex and capture the repeating string as received?
  24. Replies
    7
    Views
    5,023

    Re: Serial over Blue Tooth

    Swampy,

    Isn't the default baud rate for the HC-06 9600?

    If so, try setting the HSER port baud rate on the PIC in PBP to 9600.
  25. Replies
    2
    Views
    19,239

    Re: Sending text to GLCD using BV4612 interface

    You would actually send the following if using Serout2.
    For Row 4 and Column 20
    Serout2 pin, mode, [$1b, "[4;20H"]

    Or you can do it all in hex.
    Serout2 pin, mode, [$1b, $5b, $34, $3b, $32,...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4