Eliza
@eliza
Member
Joined: 2022-02-22 10:44 am
Last seen: 2022-12-14 10:09 pm
Topics: 3 / Replies: 78
Reply
RE: Dancing Tinkerbell for a pirate magician

@frogandtoad The full code is hundreds of lines of unrelated LED display code. There is only one pertinent line which is: if (rfDriver.recv(inputBu...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@robotbuilder I'm not checking any input pin for change, or data. I'm calling a function that returns true or false. When true there is data in a char...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@zander There is no pin connected to anything. Thus, no way to detect a pin change.

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@zander I used he interrupts with a single arduino & it worked great Now I want to use the radios. I am putting the recv() call into a timer in...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

I’m coding a timer ISR and have it ready to test so I can check recv() quickly and often. Just as I got that ready for the first test ALL of the LEDs ...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@robotbuilder Ok, but the receiver is gathering data on a timer interrupt driven basis. I call "recv" which checks function "available()" and if there...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@zander Thanks, this is helpful. I can see where there could be left over data if I don't flush the buffer, but on the first read that shouldn't be th...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@robotbuilder Hard wire connection between the arduinos is not an option, nor a viable test scenario. The radio com works perfectly. The problem is th...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@zander the 433 mhz radio video /p> The radio communication works perfectly, provided I just use the simple "read it all the time" method

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@zander Yes, the 10 seconds was what I was originally doing. I had buttons with pin change interrupts that would set a state variable. The button pres...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@robotbuilder While I didn't change the name of the function, I changed the structure of the MakeTinkDance function so that I could enter, do a little...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@will ASK uses timer1. Found that in the code. I'm not using my own timer routine but I'm thinking of trying that next to call recv while my tinker...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

The ASK library is using a hardware time defined as HardwareTimer timer(MAPLE_TIMER) with an alternate compile time definition of HardwareTimer timer(...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@frogandtoad I'm not exceeding maximum transmission of bytes. I'm transmitting 14 bytes every minute or so. If I "do nothing" between calls to recv it...

2 years ago
Forum
Reply
RE: Dancing Tinkerbell for a pirate magician

@robotbuilder I shortened the MakeTinkDance function to just light up one pixel and then return, with this I can get radio data. I need to do more th...

2 years ago
Forum
Page 2 / 6