FX-BlasterOS icon indicating copy to clipboard operation
FX-BlasterOS copied to clipboard

Problème de Téléversement

Open Tam-Koowan opened this issue 6 years ago • 11 comments

Bonjour, j'ai essayé de téléverser sur mon arduino mais j'ai une erreur: Fonts/Aurebesh_6pt.h: No such file or directory

Pourriez-vous m'aider ?

Hello, I tried to upload on my arduino but I have an error: Fonts / Aurebesh_6pt.h: No such file or directory Could you help me ?

Tam-Koowan avatar Oct 13 '19 20:10 Tam-Koowan

Here is the Font needed.

Unzip it to a folder called Fonts inside your Arduino Libraries Folder Aurebesh_6pt.h.zip

PropTroniX avatar Nov 07 '19 17:11 PropTroniX

I did it but it did not change anything I always have the same mistake

Je l'ai fait mais cela n'a rien changer j'ai toujours la même erreur

Tam-Koowan avatar Nov 07 '19 20:11 Tam-Koowan

I found the problem. I replaced the <> by "in the next line #include "Fonts / Aurebesh_6pt.h" in the tab: "OLED.CPP"

Tam-Koowan avatar Nov 07 '19 20:11 Tam-Koowan

Has anyone seen this issue? I cannot download the program because of a missing file. I cannot find the file in the zip file. Thanks! sketch\Adafruit-GFX-Library-master\fontconvert\fontconvert.c:23:22: fatal error: ft2build.h: No such file or directory

#include <ft2build.h>

likemike973 avatar Jun 19 '20 02:06 likemike973

Hi, on a Mac is part of the system located here - /opt/X11/include/freetype2/ft2build.h

Not sure about Widows though

Its to do with Freetype Fonts

Regards Phil

PropTroniX avatar Jun 19 '20 08:06 PropTroniX

Interesting, I also do not have this file on my WIN PC, but I never had this error message. The fontconverter is a utility of the GFX library and not strictly speaking needed by FX-BlasterOS. I also did not find the link between the GFX lib referencing to the fontconverter...can you try simply deleting the fontconverter library?

One hint: when you download a new board package for the Arduino IDE, some default libraries will be downloaded with it. Therefore please check if you have multiple copies of the Adafruit_GFX library. Delete all of them bar the one you placed in your library folder (see https://github.com/Protonerd/FX-SaberOS/wiki/Setting-up-Arduino Step 6)

Protonerd avatar Jun 21 '20 10:06 Protonerd

It would help if you could add the code/file you are trying to upload. Also what version of the GFX Library are you using?

PropTroniX avatar Jun 21 '20 21:06 PropTroniX

I did not realize yet how to connect (wire) scope, I just wired other display....I m noobie in arduino, but as far I know in order to connect two Oled at same time will be required to change address (physically) in one display or add a multiplexer board...question do you folks have wiring diagram for MK-X?

dinho1967 avatar Nov 05 '20 14:11 dinho1967

You can only connect either the status display or the scope as Oled, not both. The former needs an Oled if size 128x32, latter one with 64x44. Wiring-wise they both use I2C

Protonerd avatar Nov 05 '20 16:11 Protonerd

Tks Andras!!! 2 more questions:

a) How about buttons wiring, I saw in the old diagram that arduino pin D12 wires with "Trigger" and D11 with Auxiliar Mode, but in the arduino code appears "#define AUX_BUTTON 4"...

a) Operation...how to swap between one display and other? should we define in the code library first wiring or we do that by Buttons?

dinho1967 avatar Nov 05 '20 17:11 dinho1967

J'ai maintenant un nouveau problème de téléversement, je suis l'IDE 1.8.13 et lors du téléversement j'ai cette erreur :

In file included from D:\Créations\Star Wars\Sons Sabre et Blaster\FX-BlasterOS\FX-BlasterOS-master\FX-BlasterOS\FX-BlasterOS.ino:10:0: D:\Créations\Star Wars\Sons Sabre et Blaster\FX-BlasterOS\FX-BlasterOS-master\FX-BlasterOS\FX-BlasterOS.ino: In function 'void sleepNow()': FX-BlasterOS:872:18: error: 'BODS' was not declared in this scope C:\Users\Tam Koowan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit' #define bit(b) (1UL << (b)) ^ D:\Créations\Star Wars\Sons Sabre et Blaster\FX-BlasterOS\FX-BlasterOS-master\FX-BlasterOS\FX-BlasterOS.ino:872:18: note: suggested alternative: 'BORF' C:\Users\Tam Koowan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit' #define bit(b) (1UL << (b)) ^ FX-BlasterOS:872:31: error: 'BODSE' was not declared in this scope C:\Users\Tam Koowan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit' #define bit(b) (1UL << (b)) ^ Plusieurs bibliothèque trouvées pour "SPI.h" Utilisé : C:\Users\Tam Koowan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\libraries\SPI Non utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\SPI Plusieurs bibliothèque trouvées pour "Wire.h" Utilisé : C:\Users\Tam Koowan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\libraries\Wire Non utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\Wire Plusieurs bibliothèque trouvées pour "Adafruit_GFX.h" Utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\Adafruit_GFX_Library Non utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\Adafruit-GFX-Library-master Plusieurs bibliothèque trouvées pour "Adafruit_SSD1306.h" Utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\Adafruit_SSD1306 Non utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\Adafruit_SSD1306-master Non utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\Adafruit_SSD1306-master_64x32 Plusieurs bibliothèque trouvées pour "DFPlayer.h" Utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\DFPlayer Non utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\FX-SaberOS Non utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\DFPlayer_LSOS Non utilisé : C:\Users\Tam Koowan\Documents\Arduino\libraries\LightSaberOS exit status 1 'BODS' was not declared in this scope

Pouvez-vous m'aidez svp

Tam-Koowan avatar Jun 12 '21 13:06 Tam-Koowan