Open coder4432 opened 2 years ago
It may be related to issue #10 , since micros is probably used. It'll likely be a week or two before I have time to investigate. In the mean time, could you try 1.8.13, since that's the version I used for testing ArduinoShrink?
Sorry for the late reply, I have tested IDE version 1.8.13, and the problem persists, I have also tried the latest version (1.8.16), and the error still occurs. Thanks for looking into it.
The latest version of the ArduinoShrink library will probably resolve the issue
Hi! I am currently working on a project for the Arduino Mini, with an OLED display, RGB LEDs, and a HC-SR04 Ultrasonic sensor. I am currently troubleshooting the code on an Arduino Uno, before uploading to the Mini. Due to the size of the code, I have added the ArduinoShrink Library to reduce the code size for the tiny Arduino Mini.
However, in testing I have found that when trying to use the Ultrasonic sensor with the ArduinoShrink library, the Ultrasonic sensor does not trigger at all, and stays completely stationary. I have tried without the ArduinoShrink library and works completely fine.
The code below won't work, as I have had to redact the connecting files as they contain personal images. Is there any reason that the ArduinoShrink library would prevent the Ultrasonic sensor from working?
Thanks,
(Using latest Libraries in Arduino 1.8.14)