Giter Club home page Giter Club logo

Comments (15)

Argathena avatar Argathena commented on August 19, 2024

What kind of setup you got? Homebrew, Diyino Prime or a Diyino Stardust?

from fx-saberos.

FatherCool avatar FatherCool commented on August 19, 2024

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.

Argathena avatar Argathena commented on August 19, 2024

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.

Argathena avatar Argathena commented on August 19, 2024

https://github.com/Protonerd/DIYino?files=1

from fx-saberos.

FatherCool avatar FatherCool commented on August 19, 2024

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.

FatherCool avatar FatherCool commented on August 19, 2024

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.

Protonerd avatar Protonerd commented on August 19, 2024

https://github.com/Protonerd/FX-SaberOS/wiki/Soundfont.h

from fx-saberos.

jbkuma avatar jbkuma commented on August 19, 2024

from fx-saberos.

FatherCool avatar FatherCool commented on August 19, 2024

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.

jbkuma avatar jbkuma commented on August 19, 2024

from fx-saberos.

FatherCool avatar FatherCool commented on August 19, 2024

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.

jbkuma avatar jbkuma commented on August 19, 2024

from fx-saberos.

FatherCool avatar FatherCool commented on August 19, 2024

Fair enough. I am keen to get it breadboarded and see how it goes.

from fx-saberos.

jbkuma avatar jbkuma commented on August 19, 2024

from fx-saberos.

FatherCool avatar FatherCool commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.