Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Recent content by DogFlu66

  1. DogFlu66

    Display TFT ST7789 (OshonSoft Basic).

    For my part, there's no problem. I'm short on time right now, but if I have it, I can try to make some time.
  2. DogFlu66

    Display TFT ST7789 (OshonSoft Basic).

    Congratulations on the progress.
  3. DogFlu66

    Interrupts with PIC18F4550

    I have this old simulation practice on the 2550, I'll leave you the codes in case it helps.
  4. DogFlu66

    Using the IDE simulator (Oshonsoft).

    There are new improvements in the IDE for those using Pic Basic Compiler v9.84 (for PICs with eight stack levels). The driver has been optimized to control 1602/2004 displays via I2C using the PCF8574 I/O expander. It is now possible to make function calls within another function again. I've...
  5. DogFlu66

    LCD1602/2004 via I2CBus with PCF8574 (Oshonsoft Basic).

    You no longer need external libraries to interface the LCD1602/2004 via I2C with the PCF8574 port expander, since native support was introduced in IDE v5.83 and optimized in the latest update (v5.84). Below is the link where you can follow the full discussion...
  6. DogFlu66

    Using the IDE simulator (Oshonsoft).

    My assembly codes are only a few lines long so I can't help much. I'm really glad to hear that the code is proving useful to you. I hope your project turns out to be a great success!
  7. DogFlu66

    Using the IDE simulator (Oshonsoft).

    Pic16F88: The function "LCD_Out(Line, Xpos, string)" modifying it in this other way allows it to be called from the main. Function LCD_Out(Line As Byte, XPOS As Byte, strChar[20] As String) As Bit If Line = 0 Then Line = 1 If Line > 4 Then Line = 4 If XPOS = 0 Then XPOS = 1...
  8. DogFlu66

    Using the IDE simulator (Oshonsoft).

    Yes, they're for debugging purposes, although the "watch variables" module also works very well for that. If it's faster, I assume it's because the microcontroller is simpler.
  9. DogFlu66

    Using the IDE simulator (Oshonsoft).

    Version to simulate on the Pic16F88 with 8-level stack.
  10. DogFlu66

    Using the IDE simulator (Oshonsoft).

    It works fine on the 16F1789, but on other microcontrollers with a smaller stack, stack problems may occur. A more simplified version would have to be made for it to work correctly. In any case, when something like this happens, it is advisable to report the problem because it helps them improve...
  11. DogFlu66

    Using the IDE simulator (Oshonsoft).

    I’m kicking things off with the recent addition of native support in version 5.83 of the compiler (in my case, for PIC18) for the PCF8574 I/O expander, which allows control of 16x2 and 20x4 LCDs via I2C communication. I'm including an example with the configuration setup and an image showing the...
  12. DogFlu66

    Using the IDE simulator (Oshonsoft).

    First we need a common configuration for the system:
  13. DogFlu66

    Using the IDE simulator (Oshonsoft).

    Hi everyone! We’re opening this special thread dedicated to sharing fully simulatable examples using the OshonSoft IDE, perfect for those who program in PIC Basic as well as for those who prefer working directly in assembler. The goal is to gather practices and projects that can be run...
  14. DogFlu66

    LCD1602/2004 via I2CBus with PCF8574 (Oshonsoft Basic).

    I've expanded the function to control 1602 or 2004 LCDs via I2C (PCF8574) with the ability to generate large numbers. I've attached the modified library and necessary files, along with a screenshot of the LCD.
  15. DogFlu66

    Display TFT ST7789 (OshonSoft Basic).

    I’ve been comparing the clock (CLK) waveforms of the SPI bus between the PIC18F46K20 and the PIC18F46K22 microcontrollers, and I’ve observed that the 46K22 maintains a much cleaner and more stable waveform than the 46K20. This could be due to internal differences in chip design, switching...

New Articles From Microcontroller Tips

Back
Top