LED-Matrix-Display-Examples icon indicating copy to clipboard operation
LED-Matrix-Display-Examples copied to clipboard

Ticker.h: No such file or directory

Open sevketk opened this issue 6 years ago • 4 comments

I setup Arduino for esp8266 board from https://github.com/esp8266/ from boards manager . and I connect my led panel directly to arduino (not use esp8266). Bu however ticker.h not found. When I compile banana code I get error.

`Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

arduino_rgb_ballgame:5:10: error: Ticker.h: No such file or directory

#include <Ticker.h>

      ^~~~~~~~~~

compilation terminated.

exit status 1 Ticker.h: No such file or directory

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. ` but the other hand , pixeltime_AVR example work for me (it says t me, my wiring , setup is correct) Why dont work banana example?

sevketk avatar Nov 02 '19 18:11 sevketk

You have the wrong board selected in the Arduino IDE

On Sat, 2 Nov 2019, 18:50 sevketk, [email protected] wrote:

I setup Arduino for esp8266 board from https://github.com/esp8266/ from boards manager . and I connect panel directly to arduino. Bu however ticker.h not found. When I compile banana code I get error.

`Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

arduino_rgb_ballgame:5:10: error: Ticker.h: No such file or directory

#include <Ticker.h>

  ^~~~~~~~~~

compilation terminated.

exit status 1 Ticker.h: No such file or directory

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. ` Why ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/LED-Matrix-Display-Examples/issues/3?email_source=notifications&email_token=AAL5PQR4VBMZBJ2HQHEH23LQRXDYHA5CNFSM4JIHMYX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HWMAJ4Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5PQSIZALBHWWG5OJENELQRXDYHANCNFSM4JIHMYXQ .

witnessmenow avatar Nov 02 '19 18:11 witnessmenow

but the other hand , pixeltime_AVR example work for me (it says t me, my wiring , setup is correct)

https://github.com/2dom/PxMatrix/tree/master/examples/pixeltime_AVR

sevketk avatar Nov 02 '19 19:11 sevketk

Pixel time avr is written for avr, these are written for esp8266, maybe they will work if ported but they are currently only coded for the esp8266

On Sat, 2 Nov 2019, 19:34 sevketk, [email protected] wrote:

but the other hand , pixeltime_AVR example work for me (it says t me, my wiring , setup is correct)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/LED-Matrix-Display-Examples/issues/3?email_source=notifications&email_token=AAL5PQTSGLQJCJ6KFKZ4UA3QRXI4FA5CNFSM4JIHMYX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5DI4Y#issuecomment-549074035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5PQQTNZWCBYVOUNQ3OELQRXI4FANCNFSM4JIHMYXQ .

witnessmenow avatar Nov 02 '19 20:11 witnessmenow

Yes I have already carried. but this time "ticker.h" did not work. I changed ports and connections. no problem. I didn't know what to replace "ticker.h". I tried to use "millis ()" function instead of "ticker.h" but I couldn't. I would be grateful if you put the avr example for "banana dance".

sevketk avatar Nov 03 '19 11:11 sevketk