Cannot add my extension TM1637


#1

Dear all,
I create my extension for TM1637 as above image.
I input source file TM1637Display.h at tab “Add source file” and Upload transcode at tab “Basic configuration”
But when I test and upload code to Arduino Uno R3, it warning error:

C:\Users\John\mblock-avr\temp\build\TM1637\TM1637Display.cpp:24:10: fatal error: TM1637Display.h: No such file or directory #include <TM1637Display.h> ^~~~~~~~~~~~~~~~~ compilation terminated.

Failed to compile file TM1637/TM1637Display.cpp
arduino build failed.

Could you support me to fix the error ?


Cannot add my source files
#2

Hi hoavinh108,

Thanks for reaching out to us. Could you please let me know which version of mBlock are you using? Are you using the Web version or the PC version?

Best,

Allen


#3

Dear sir,
I’m using version 5.2.0.
This is PC version


#4

1637.zip (4.3 KB)
This is my .h & .cpp file


#5

Anyone can help me ?


#6

This is my file extension in mBlock


#7

Dear hoavinh108

Sorry for the late reply. Has the issue been fixed? Our arduino server had some issues around February, but it was fixed then. Could you please let us know how it works now?

Best


#8

Dear sir,
I fixed it. because my library file .h.
I will close this topic


#9

como soluciono el error? tengo el mismo error


#10

Hi DixiRobotics, please check this link for reference: Third-party library