Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    2,997

    I think, this Define changes nothing ! The LFSR...

    I think, this Define changes nothing ! The LFSR isn't used in several PIC18F I used...
  2. Replies
    7
    Views
    7,926

    ADCIN doesn't work on PIC18Fxx31. Look here:...

    ADCIN doesn't work on PIC18Fxx31.

    Look here:
    http://www.picbasic.co.uk/forum/showthread.php?t=13644&p=96903#post96903
  3. Replies
    5
    Views
    7,320

    Today I trapped into the same hole... ADCIN...

    Today I trapped into the same hole...

    ADCIN doesn't work on a PIC18Fxx31.

    I have just written some code to read AN0..AN7 on devices who have this inputs.

    Init-Part:


    ;ADC
  4. Replies
    9
    Views
    9,774

    S*it to late - to much wine

    S*it

    to late - to much wine
  5. Replies
    9
    Views
    9,774

    Yes - that is know, the tiny 16Fs doesn't have so...

    Yes - that is know, the tiny 16Fs doesn't have so big tasks to do ... ;-)

    No - the datasheet uses a bra $-2 too and Picbasic compiles:


    000C12 0003 M loop sleep
    000C14 D7FE ...
  6. Replies
    9
    Views
    9,774

    Does this build a loop, or is there a "heavy...

    Does this build a loop, or is there a "heavy load" of data in the code ?
    I work with PBP 2.50C.
  7. Replies
    9
    Views
    9,774

    I've done some own work, but it is not tested: ...

    I've done some own work, but it is not tested:



    asm
    ClearMem macro Array,Size ;Macro um Speicher zu löschen
    lfsr 0,Array
    movlw Size
    clrf POSTINC0
    ...
  8. Replies
    9
    Views
    9,774

    FillMem or ClearMem

    I'm just coding a PIC18F-projekt and there is the need to clear some Arrays or so...

    What's about a ClearMem-command (or macro), because it is smarter then a "FOR I=0 to 15:Array[I]=0:Next...
  9. Replies
    4
    Views
    3,061

    Forget all this TTL-things ! You are in the...

    Forget all this TTL-things !
    You are in the CMOS-decade !!!!

    No one is using TTL-Logic !!!!

    Just look in the datasheet and look at the functions of each post-pin !! there is a lot of surprise...
  10. If you are looking for costs ... forget all this...

    If you are looking for costs ... forget all this old 16F... or 18F...-devices.

    Take new cheap dsPic33 or ...J... or ...K... -devices.
    The new devices are very cheap, the old stuff is expensive...
  11. Replies
    7
    Views
    11,517

    I can't see any 100nF-Cs round your PIC - is he...

    I can't see any 100nF-Cs round your PIC - is he resetting ? You can use a portpin to see it!
    Maybe it will better the AD-Converter by filtering his AVDD via 56 Ohm and 100nF against ground, but this...
  12. Replies
    1
    Views
    3,240

    Use an ICL7667 to drive the piezo with 12V in a...

    Use an ICL7667 to drive the piezo with 12V in a full-bridge ! It's like using 24V out of a pin against Gnd.
  13. Replies
    6
    Views
    4,744

    Why are you screaming so loud here ????? The...

    Why are you screaming so loud here ?????

    The 877a has options and registers not know by the 877 (without a).
    So, switch to the right compiler-option or read the datasheet so declare the register...
  14. Replies
    7
    Views
    5,134

    View Post

    Ähhh....

    What's about the DIV32-command ?
  15. Replies
    7
    Views
    5,134

    I think, it won't work: (ECHO - MIN) / (MAX -...

    I think, it won't work:

    (ECHO - MIN) / (MAX - MIN) will be between 0 and 1 and will be truncated to 0.

    Try:

    ZW VAR WORD
    ZW=MAX-MIN:RESULT= (ECHO-MIN)*1000:RESULT=DIV32 ZW

    That will...
  16. Replies
    15
    Views
    7,781

    Which port should this be ???????

    Which port should this be ???????
  17. I think you have to change the file 18F4550.BAS...

    I think you have to change the file 18F4550.BAS in the PBP-path:



    '****************************************************************
    '* 18F4550.BAS ...
  18. Replies
    4
    Views
    4,980

    Change ADCON2 to use more Acquisition time, Wait...

    Change ADCON2 to use more Acquisition time,
    Wait after switching the ADC on (ADCON0) 1
    delete this ADC-defines !
    maybe ... ad a 1nF C to AN1 against ground
  19. Replies
    129
    Views
    138,742

    Try this: I2C_Slave: ...

    Try this:

    I2C_Slave: ' I2C slave subroutine
    IF R_W Then

    I2C_Read: ' I2C read data from us ' THIS SECTION IS WORKING!
    IF !d_a Then txbufferindex =...
  20. Replies
    129
    Views
    138,742

    -------------------------deleted------------------...

    -------------------------deleted-------------------------
  21. Replies
    129
    Views
    138,742

    You don't empty the SSPBUF after receiving the...

    You don't empty the SSPBUF after receiving the adress and the first data-byte gives you an buffer-overrun.....
  22. Replies
    129
    Views
    138,742

    What ? It's PBP !

    What ?

    It's PBP !
  23. Replies
    129
    Views
    138,742

    Again ... post your code !

    Again ... post your code !
  24. Replies
    129
    Views
    138,742

    I has gone through this hell too. I bought a...

    I has gone through this hell too.

    I bought a cheap LA (Po.Scope) in order to debug my code. I was looking for errors in PBP too, but at least the error was im my code (and maybe in PBP)...
    ...
  25. Replies
    129
    Views
    138,742

    You have to set the CKP-bit even after a...

    You have to set the CKP-bit even after a WRITE-operation.
    Try to disable the HSEROUT-lines.
    Maybe this command will alter the TRISC-register, which will kill the I2C-engine.
    Sometime, you should...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4