Search Results - Proton BASIC community web site


Search:

Type: Posts; User: top204

Search: Search took 0.03 seconds.

  1. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    That is because of some of the changes I've made to the compiler's low-level directives since that code was written Charlie.

    In the ILI9325.inc file, go to the end of it and replace the #ifmacro...
  2. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    Charlie.... The 125KHz seems to be the internal ADC sampling rate. The SPI clock timings are in NanoSeconds. The rate at which the valid samples can be taken from the chip does need a delay between...
  3. Replies
    136
    Views
    2,750

    Proton BASIC Compiler - Software SPI interface to an ADS7846 touchscreen controller

    The addition of the procedures in Proton has made a world of difference to the compiler. It is now possible to make true libraries. It took quite a lot of work to add them to a flat compiler, but I...
  4. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    You're very welcome John

    Remember, it is just my opinion on the naming conventions. $define and Symbol both produce constant values, but $define creates text, while Symbol creates constant values...
  5. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    I mainly use the $define because the text gets highlighted in the code listing, so you can see more clearly that it is a constant. I also, generally, use the character lowercase c in front of a...
  6. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    You can use the compiler's Shin and Shout commands for the SPI interface because it is a standard mode 0:0 SPI interface to the chip. This will make the code transportable across devices. That has...
  7. Replies
    136
    Views
    2,750

    Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

    Each procedure sends the commands that are required for the type of operation that is needed.

    The only thing the user needs to do is measure the resistance of the four edges of the GLCD, then...
  8. Replies
    136
    Views
    2,750

    Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

    I've altered the ADS7846 touch screen controller firmware to act as an independent library using procedures, but I cannot test it because I no longer have the Amicus18 GLCD board.

    I've uploaded...
  9. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    Charlie.

    See this little piece of text I wrote on the forum's Wiki for overclocking the 18FxxKxx devices.

    Overclocking the Amicus18 Board to 100MHz

    I remember I had the 18FxxKxx devices...
  10. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    The touch chip is the ADS7846. I remember using this type because it was inexpensive and whole lot better than the dreadful Microchip types.

    Here's a screenshot of the touch part of the circuit...
  11. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    Here's something I created quite a few years ago that used the ILI9325 graphic LCD board. See my stubby little fingers? LOL


    https://www.youtube.com/watch?v=J4ghfgeZYF8

    I created it because...
  12. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    What I've found with the ILI type of graphic LCDs is that the only real change to make in teh code is the initialisation mechanism for them. The code I wrote uses the start-up commands and values in...
  13. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    Here's a program I wrote quite a few years ago to convert a BMP file to RGB565 in a Cdata table.

    BMP to RGB565 Converter

    Hopefully, you will find it useful.
  14. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    John.. The best way to get a graphic LCD is to buy one already placed on a PCB. OK, most are for the dreadful Arduino shape, but sometimes they are more universal. i.e. For real world applications....
  15. Replies
    136
    Views
    2,750

    Re: Les's ILI9325 Wiki code

    The SPI interfaces to LCDs are OK, and work fine. But they are a lot slower, especially with colour graphic LCDs.

    Each pixel on a colour LCD needs 16-bits assigned to it (RGB565), and with SPI...
Results 1 to 15 of 15