LateraLiz
@lateraliz
Trusted Member
Joined: Oct 17, 2019
Topics: 4 / Replies: 55
Reply
RE: Music playback for one song on playlist always SLOW

dkulp wrote:You don't mention the sound device, but if it's due to a hat/dac, that's likely the issue. Get a USB sound card. Just saw your reply on...

7 years ago
Reply
RE: Music playback for one song on playlist always SLOW

CaptainMurdoch wrote:Dan or I may need to look at the MP3 file itself to see what is happening. The audio in FPP is decoded inside FPP and the sequen...

7 years ago
Reply
RE: Music playback for one song on playlist always SLOW

Alright, sorry for not replying earlier I was working on another issue. Anyway, so my original title issue was actually less than accurate as I have...

7 years ago
Reply
RE: Simple code for Arduino Uno/Mega. Up to 48 realy/SSR channels, with Random mode

The following code yields frozen output during sequence for channels 1-24, while channels 25-32 appear to work properly. If another pair of eyes could...

7 years ago
Forum
Reply
RE: Simple code for Arduino Uno/Mega. Up to 48 realy/SSR channels, with Random mode

I'm a dum dum - frozen output was due to baud rate mismatch between FPP and the code. Doh! Going back to see how the above works with matching baud ra...

7 years ago
Forum
Reply
RE: Simple code for Arduino Uno/Mega. Up to 48 realy/SSR channels, with Random mode

angus40 wrote:Here is you code cleaned up and corrected a little . The HIGH-LOW may need swapping , you will solve this 🙂 // This code was writt...

7 years ago
Forum
Reply
RE: Simple code for Arduino Uno/Mega. Up to 48 realy/SSR channels, with Random mode

angus40 wrote:eek .....had to correct curly's and punctuation So i've been looking at this code for too long at this point and I'm losing track of w...

7 years ago
Forum
Reply
RE: Simple code for Arduino Uno/Mega. Up to 48 realy/SSR channels, with Random mode

angus40 wrote:I thought the mode was defined as not_inverted . If you change that back , you should be good . Yeah I was getting the two mixed up ea...

7 years ago
Forum
Reply
RE: Simple code for Arduino Uno/Mega. Up to 48 realy/SSR channels, with Random mode

kev wrote:Try the changes above Thanks for the suggestion, but unfortunately same result - channels 25-32 still end up inverted.

7 years ago
Forum
Reply
RE: Music playback for one song on playlist always SLOW

I've even opened the song in audacity, cut out a clip and saved it as a new, shorter, mp3 file with no meta data. Then replaced the previous song file...

7 years ago
Reply
RE: Music playback for one song on playlist always SLOW

MikeKrebs wrote:Just a random guess...Is that sequence at the same FPS as your other sequences? Are they all 20 fps (50 ms)? Or is this one special? ...

7 years ago
Reply
RE: Simple code for Arduino Uno/Mega. Up to 48 realy/SSR channels, with Random mode

angus40 wrote:possibly if (MODE == NOT_INVERTED) { for (i=0; i < 25; i++){ digitalWrite(channels[i], LOW); } else { for (i=...

7 years ago
Forum
Topic
Reply
RE: Simple code for Arduino Uno/Mega. Up to 48 realy/SSR channels, with Random mode

So I've been fiddling with that section of the code every which way I could think of. For the life of me I cannot seem to figure out how specify which...

7 years ago
Forum
Reply
RE: Simple code for Arduino Uno/Mega. Up to 48 realy/SSR channels, with Random mode

angus40 wrote:This is the section you need to look at in your code and do the opposite for your inverted needs if (MODE == NOT_INVERTED) { for (i=0;...

7 years ago
Forum
Page 3 / 4