Jump to content
43oh

wa3tfs

Members
  • Content Count

    8
  • Joined

  • Last visited

About wa3tfs

  • Rank
    Noob Class

Profile Information

  • Interests
    launchpad, hardware control
  1. I've reposted this since the program insists on displaying the word"color" instead of showing it so please disregard this mess and look to the new posting if you please. thanks,
  2. Members 0 3 posts Posted just now THIS CODE WORKS IN ALL WAYS EXCEPT WHEN IT LOOPS BACK TO GET MORE DATA, AND NONE IS BEING SENT, IT TURNS OFF THE RELAY THAT HAS BEEN SET ON. i NEED TO KEEP THE RELAY SET WHEN NO SERIAL INPUT DATA IS THERE. WHEN DIFFERENT DATA, OR THE SAME DATA IS INPUT, IT AGAIN WORKS AS EXPECTED UNTIL LOOPING BACK TO LOOK FOR MORE DATA. THE RESULT, IS THAT THE RELAY IS JUST PULSED ON UNTIL THE NEXT LOOP THROUGH. CAN ANYONE HELP ME TO GET THE RELAYS TO S
  3. THIS CODE WORKS IN ALL WAYS EXCEPT WHEN IT LOOPS BACK TO GET MORE DATA, AND NONE IS BEING SENT, IT TURNS OFF THE RELAY THAT HAS BEEN SET ON. i NEED TO KEEP THE RELAY SET WHEN NO SERIAL INPUT DATA IS THERE. WHEN DIFFERENT DATA, OR THE SAME DATA IS INPUT, IT AGAIN WORKS AS EXPECTED UNTIL LOOPING BACK TO LOOK FOR MORE DATA. THE RESULT, IS THAT THE RELAY IS JUST PULSED ON UNTIL THE NEXT LOOP THROUGH. CAN ANYONE HELP ME TO GET THE RELAYS TO STAY ON WHEN SELECTED UNTIL NEW DATA IS INPUT FOR A DIFFERENT ONE? (ALSO, I HAVE NO IDEA WHY THIS WANTS TO DISPLAY COLOR HERE INSTEAD OF JUST PRINTING THE
  4. Mike, You did point me in the right direction. That statement was where the problem was. I corrected it and now the second dds programs properly. It's funny how you can look at the same code dozens of times and not see it! I still have to fix a problem with a variable setting that passes the frequency for the second dds but I can fix that. Thanks for your help. Jim
  5. I've written code to control a DDS for a transmitter project. It works perfectly and generates the required local oscillator output. I then wanted to add control for a second DDS module to generate two different frequencies for the BFO frequency. Seems it should be simple, just duplicate the control for DDS1 for DDS2 however, it seems I can't get the second DDS to program. I know the hardware is good as I can substitute one DDS for another with the same result. I don't know if I'm chasing a launchpad problem or a software problem. I'll attach my code and if anyone can suggest a solution,
×
×
  • Create New...