Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Add new coding to my old coding.

HI,i'm a newbie in coding.

my old coding was about music box, it don't have the function that i want(timer). now i want to add in a timer function into my old coding.

the function that i want from the timer is i can set the time that the music box will play music and stop playing music.

i hope that u all can guide me or give me the coding for me to refer and study:o.

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Are you referring to the Music Box code on the FPGA4FUN website?

    --- Quote End ---

    ya.

    i want to add the timer/alarm coding but i don't know how.

    can you help me?

    thanks for you helps :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What board are you using to implement the code?

    Does it have any push buttons, switches, or any other inputs that can be used to set the timer?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    if i'm not mistake that's development board with device family flex10k.

    that what i know.

    sorry,i don't know so much about this because i'm newbie in this field.