Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.01 seconds.

  1. Re: I2CWRITE not writing anything on PIC18F45K80

    Well, yes!

    Since the compiler doesn't generate code for the extended instruction set the XINST config setting is set to OFF in the default configuration files for the devices that has that option....
  2. Re: I2CWRITE not writing anything on PIC18F45K80

    And yet, on 22nd April 2023, you said:
    Clearly putting blame on anything BUT your code, be it the PIC itself, the compiler, the assembler or whatever - just not your code.

    But, you're right, some...
  3. Re: I2CWRITE not writing anything on PIC18F45K80

    Exactly, we've been thru this before. Your beloved ZX Spectrum runs a BASIC interpreter which interprets and executes the code as it runs. It (the interpreter) can check things like out of bounds...
  4. Re: I2CWRITE not writing anything on PIC18F45K80

    The original Hitachi datasheet specifies 1.52ms for the HOME command and 37us for data and that's likely where the 1500/50 comes from.
  5. Re: I2CWRITE not writing anything on PIC18F45K80

    Of course it does...
    Me thinks it's far more likely that the particular controller that's on your display doesn't live up to the specifications in the datasheet. Quite common on cheap HD44780...
  6. Re: I2CWRITE not writing anything on PIC18F45K80

    Looking at this datasheet it looks like all commands except clear executes in 72us which is like 1/12 of the 900us you're telling the compiler it takes. Obviously you'd need to add additional delays...
  7. Re: I2CWRITE not writing anything on PIC18F45K80

    As long as you send the display DATA it will be sort of fast (35us per data byte according to your own information). But each time you send a command it will take 900us - and you do that two times...
  8. Re: I2CWRITE not writing anything on PIC18F45K80

    Of course it's the same.
    You tell the compiler: "Look, the LCD controller I have connected needs 35us to process data and 900us to process commands, please give me code for that". The compiler will...
Results 1 to 8 of 8