Search Results - Proton BASIC community web site


Search:

Type: Posts; User: charliecoultas

Search: Search took 0.01 seconds.

  1. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    The postman finally cometh and I now have a display with touch that works! Other pressures mean that I can't do much at present and on Friday we go on holiday for two weeks - bummer. Thanks to...
  2. Replies
    136
    Views
    2,728

    Re: Proton BASIC Compiler - Software SPI interface to an ADS7846 touchscreen controll

    Glad you're making progress John. I am intending using one SPI channel for both the display AND the touch. And selecting which device using their chip enables. Why are you going for one hardware SPI...
  3. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    I understand Flosi. I am taking a different route: I am looking at the touch chip every 100mS via a timer interrupt, and if I see a touch, I look a lot more frequently and deal with it. But i can't...
  4. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Does that mean that you have the display on SPI1 and touch on SPI2? Surely both the touch and the display can run at the same fast rate?

    Charlie
  5. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Thanks Les, that makes a lot of sense. Indeed, to put a misleading"max" rate on the first page of the data sheet is a bit stupid. It fooled me.

    Flosi seems to be making good progress and John is...
  6. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Good luck with the bowls John. Do they allow over-arm bowling?

    I took the touch chip off my display board and put the ohm meter between X+ X- Y+ and Y-. All open circuit! No wonder the damn thing...
  7. Replies
    136
    Views
    2,728

    Re: Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

    Yes John, I wondered that. Perhaps if a display assembly fails its connections to the touch area, they flog it off and don't bother fitting the chip.
    The photo of mine on BangGood had the chip, the...
  8. Replies
    136
    Views
    2,728

    Re: Proton BASIC Compiler - Software SPI interface to an ADS7846 touchscreen controll

    Many thanks Les, much appreciated. My problem seems to be either the actual display or the touch chip.
    Even slowing the clock right down makes no difference. Probing around with the scope - I can't...
  9. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    I just fell over the Symbol and $Define issue. But I am still struggling:

    I can see the 8 bit byte going into the touch chip. It is asking to measure the Z axis and that looks good. The clocks are...
  10. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Les, Flosi and John

    Thanks. I understand all the comments and will now try again (tomorrow). One of the problems is that I am using 18F46K22 and the Amicus18 SPI rtns use a different cpu. BUt the...
  11. Replies
    136
    Views
    2,728

    Re: Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

    Thanks Les. I have tried your amended .inc file and things look a bit better. But the /CS for the touch chip stays low all the time. I think the problem is to do with the SPI routines - which are...
  12. Replies
    136
    Views
    2,728

    Re: Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

    Thanks Les. Does the ADS chip need to be initialised before it will generate an interrupt?
  13. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Thanks Flosi but the problem is more basic : I can't get the touch chip to generate an interrupt when I touch the screen.
    Should it pull its INT pin low when the screen is touched? If so, does it...
  14. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Dear Les

    John Drew and I are trying to implement your GetTouch.inc code. A question: how do you initialise the ADS7846 touch controller please?

    Does it need setting up so that it will pull its...
  15. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Wow! I think that's it Bob. Many thanks.
  16. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Ha! As easy as that. Thanks Les.

    I think you wrote some code for a resistive touch screen but I can't find it. Any help appreciated.#

    Charlie
  17. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Thanks Les.
  18. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Thanks for the feedback Flosi, it's not a problem, your code works fine.

    Your code shows the 18F26K22 running at 80Mhz, how is that done? External crystal + PPL?

    Les, I love your Stylophone. I...
  19. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    The scrolling is great Flosi. I've now managed to get two different TFT modules I have bought working nicely.
    One small point, the scrolling always goes in the portrait direction, even if the screen...
  20. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Thanks Flosi.
  21. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Flosi

    What voltage are you using for the module you describe?

    Charlie
  22. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Well that's gratifying. The only thing is, if you look on my photo at where the touch interface tracks go, they terminate on a chip that isn't there (the pads are there, but no chip, so no touch...
  23. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Join the club! I had hoped to write an article for the Wiki showing (some of) the range of available modules, their controller type number and who had written some code to drive them. But it's...
  24. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Thanks Flosi. I had wrongly assumed that all the Arduino style modules used the ILI9325 controller.

    Charlie
  25. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    I'm gradually getting further with these displays. Can somebody put me right on this issue please:

    I have bought a few OLED displays. One of the two Arduino-type displays works well with Les's...
  26. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    The example Les gives in the wiki is parallel. I've used it, it's fast and it worked first time for me.

    Charlie
  27. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    John:

    I am using Flosi's SPI code and the speed is fine. Clearing the screen takes about 0.4 seconds.

    Flosi:

    I have got a couple of OLED modules that claim to have touch, but I can't see any...
  28. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Teo

    Flosi's code will do BMP. I think this is the right place to find his code: http://www.protonbasic.co.uk/showthread.php/78176-Driver-for-ILI9341

    There is an example in the zipped file...
  29. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Les, George

    Is a "backpack" a device which sits between some "standard" software and a "non-standard" display module?
    So you could for example drive one the OLED 320x240 displays without having...
  30. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    G'day John

    That's the sort of thing I had in mind, but I'm not so sure that the different size displays all have a common controller.
    I will compile a list of modules and their controller names,...
  31. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Flosi

    Yes, I found loads of them too and have ordered one that looks good.
    Good to hear about your update plans, nice work.

    SebaG

    That's a good forward plan. I will try to draw all the...
  32. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Flosi

    An SD socket and touch would be ideal for what I have in mind, I'll see if I can find the module you describe.

    Is there any chance that you could include vertical scrolling (in portrait...
  33. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Hi John. I wired up the module, ignoring CE, put Flosi's code in an 18F26K22 and bingo, it works.
    There was no data with the ILI1934 of course, but it looks a nice neat module. Mine only has 8 pins...
  34. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Some trawling on the web has revealed that CE is wired low inside the unit, so it's not needed.
    Also, it seems that the device is 3.3V not 5V. So I'm getting somewhere..

    Will report back when...
  35. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    My first ILI9341 module has arrived and I'm all set to have some fun. But my device has 8 pins:

    GND VCC CLK MOSI RES DC BLK MISO

    But Flossi's code needs a CE pin. I don't seem to have...
  36. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Guinness? plus some padding to make this message longer than......
  37. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Yes George, Les explained the anomaly and its correction in post number #9. I am in Barcelona until Wednesday after which I will be full steam on getting these displays working for my current and...
  38. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Flosi

    I can guess what is in the 18F26K2265Mhz file.

    Edit: Got it, thanks Flosi.

    Charlie
  39. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Thanks Les, I'll make the changes and press onwards. I have ordered a ILI9325 module and designed a pcb for it.

    The Chinese company Elecrow make lovely two-sided pcbs for $4.90 for five (although...
  40. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Thanks Flosi. I will give your suggestion a try as well.

    When I compile your ILITest I get the error: Cannot locate include file "18f26k2264MHz.inc"

    Charlie
  41. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Hi John

    I also had great success with the little 0.96" display and decided to go a big bigger. I have one of these on order:
    ...
  42. Replies
    136
    Views
    2,728

    Re: Les's ILI9325 Wiki code

    Thanks George, that looks promising. I haven't got the actual display yet, but I think you might be on the right lines.

    Charlie
  43. Replies
    136
    Views
    2,728

    Les's ILI9325 Wiki code

    I am trying to use Les's code for the ILI9325 controller (from his excellent wiki article). I think I have got the hardware sorted but I get assembler errors about the PRINT command: Symbol not...
Results 1 to 43 of 43