Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adafruit_ili9341_stm.h and adafruit_imagereader.h compiling error #57

Open
KKuKK opened this issue May 11, 2023 · 1 comment
Open

adafruit_ili9341_stm.h and adafruit_imagereader.h compiling error #57

KKuKK opened this issue May 11, 2023 · 1 comment

Comments

@KKuKK
Copy link

KKuKK commented May 11, 2023

Thank you for opening an issue on an Adafruit Arduino library repository. To
improve the speed of resolution please review the following guidelines and
common troubleshooting steps below before creating the issue:

  • Do not use GitHub issues for troubleshooting projects and issues. Instead use
    the forums at http://forums.adafruit.com to ask questions and troubleshoot why
    something isn't working as expected. In many cases the problem is a common issue
    that you will more quickly receive help from the forum community. GitHub issues
    are meant for known defects in the code. If you don't know if there is a defect
    in the code then start with troubleshooting on the forum first.

  • If following a tutorial or guide be sure you didn't miss a step. Carefully
    check all of the steps and commands to run have been followed. Consult the
    forum if you're unsure or have questions about steps in a guide/tutorial.

  • For Arduino projects check these very common issues to ensure they don't apply:

    • For uploading sketches or communicating with the board make sure you're using
      a USB data cable and not a USB charge-only cable. It is sometimes
      very hard to tell the difference between a data and charge cable! Try using the
      cable with other devices or swapping to another cable to confirm it is not
      the problem.

    • Be sure you are supplying adequate power to the board. Check the specs of
      your board and plug in an external power supply. In many cases just
      plugging a board into your computer is not enough to power it and other
      peripherals.

    • Double check all soldering joints and connections. Flakey connections
      cause many mysterious problems. See the guide to excellent soldering for examples of good solder joints.

    • Ensure you are using an official Arduino or Adafruit board. We can't
      guarantee a clone board will have the same functionality and work as expected
      with this code and don't support them.

If you're sure this issue is a defect in the code and checked the steps above
please fill in the following fields to provide enough troubleshooting information.
You may delete the guideline and text above to just leave the following details:

  • Arduino board: INSERT ARDUINO BOARD NAME/TYPE HERE

  • Arduino IDE version (found in Arduino -> About Arduino menu): INSERT ARDUINO
    VERSION HERE

  • List the steps to reproduce the problem below (if possible attach a sketch or
    copy the sketch code in too): LIST REPRO STEPS BELOW

@KKuKK
Copy link
Author

KKuKK commented May 11, 2023

hi

I tried adafruit_ili9341_stm lib and adafruit_imagereader lib but it is not compiling.

adafruit_ili9341 is compiling with adafruit_imagereader but nothing on screen, with an STM32F103C8T6 and stm32duino core

adafruit_ili9341_stm is working alone.

Just for info, I had to modify in the Adafruit_ILI9341_STM.h file the lines

#define ILI9341_TFTWIDTH 240 // original
#define ILI9341_TFTHEIGHT 320 // orginal
to
#define ILI9341_TFTWIDTH 320
#define ILI9341_TFTHEIGHT 240

otherwise the whole picture was a mess.

Comliling adafruit_ili9341_stm lib and adafruit_imagereader lib gives me this error

no matching function for call to 'Adafruit_ImageReader::drawBMP(char*, Adafruit_ILI9341_STM&, int, int)'

obviously the new type is not declared until now.
Is there a way to use adafruit_ili9341_stm lib and adafruit_imagereader lib?
I cannot find anything about this in the forum or elsewhere .
Thanks for a hint
greetings klaus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant