Comments (15)
What kind of setup you got? Homebrew, Diyino Prime or a Diyino Stardust?
from fx-saberos.
Hi Sorry, I am building a home brew with a Star LED as a starter. I'm also not sure how to get the code to compile once I'm happy as when I click to verify the .ino file it can't find the library files.
I am pretty new to this so take it easy. I have only done basic programming on Arduino previously to control servos and the like.
from fx-saberos.
I am not many steps ahead of you. I'd say get the code to compile first then work on sounds cause sounds will do you no good with out the code.
Have a look at the Stardust Pdf or the Prime pdf. In them are instructions on how to load libraries properly as well as sound. Sound is really easy. I assume you have an micro sd break out in your homebrew set up.
Format sd card(do not just delete, you have to copy files in a specific order, and erasing instead of formatting won't work)
Copy config sound files. Should be 29 of them, and they need to be copied in order.( highlight all 29, click and drag first file to sd card. Should copy that way)
Next sound fonts. Using the ones that come with Fx-saber os is highly advised til you fully understand. If you just grab the whole folder and copy, it will copy in proper order.
But really study those pdfs because they aren't far from a homebrew setup as far as compiling and sound fonts.
It's gonna take some homework and time to get this down. Best I can help with my self.
from fx-saberos.
https://github.com/Protonerd/DIYino?files=1
from fx-saberos.
Thanks for that. Its very helpful.
The pdf didn't contain what I needed for the code to compile but I did find what I needed elsewhere on the arduino site. I have managed to compile it now.
I can't try it out yet as I am waitkng for my nano, DFplayer and MPU-6050 to arrive. I kust wanted to get prepared by looking through the code.
As soon as it does I will get it mocked up on the breadboard.
I just couldn't see in the code where the soundfonts were being called and how it will know where to look for them (file names). I was hoping to install 3 soundfonts to take my mood. I will of course follow your advice once I get it running.
from fx-saberos.
On another note while I still wait. How do you set up the initial blade colour and when youve set it how does it remember what colour it was last when you turned it off? Or does it lose the last colour setting once off completely (kill switched)?
from fx-saberos.
https://github.com/Protonerd/FX-SaberOS/wiki/Soundfont.h
from fx-saberos.
from fx-saberos.
Ah that makes sense. Does it just power up white then on the first run or no LEDs on at all?
Also back to the code. When I load up the .ino file and click verify it still brings up a large number of orange warnings and such at the bottom. Is this normal?
from fx-saberos.
from fx-saberos.
Well it completed in the latest IDE but failed in 1.6.5 so not sure really. I didn't touch anything I just compiled it as it was!
from fx-saberos.
from fx-saberos.
Fair enough. I am keen to get it breadboarded and see how it goes.
from fx-saberos.
from fx-saberos.
Noted. I intend to wire it as per the saber really and I will be using an RGB Star tri cree for now. I am planning to have a go with neopixels in the new year though once I have the code down.
from fx-saberos.
Related Issues (20)
- Flame effects HOT 2
- button HOT 3
- NPXL pcb wiring
- No sound - Speaker without amplifier or additional power? HOT 3
- hum loop cut HOT 1
- problem with the two buttons config
- Sound problem with the Config Mode HOT 2
- problem with arduino nano and mpu HOT 2
- Problem with the MP3-TF-16P sound HOT 4
- sound problems HOT 2
- Exceeds available space on Nano with DIYINO_PRIME and PIXELBLADE HOT 2
- Df player freezes and resets HOT 9
- Button HOT 4
- Boot sound not playing HOT 8
- Possible to change mainColor to being set by RGB sensor module? HOT 4
- Issue compiling HOT 1
- Crossguard Saber HOT 2
- Lockup on clash HOT 2
- No audio, button doesn't work, LED strip lights up red HOT 3
- Hum and development HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fx-saberos.