Menu

chiming clock control

2021-03-24
2021-03-28
  • Reginald Neale

    Reginald Neale - 2021-03-24

    I need to modify my software for controlling a chiming clock. It needs to check an input for a 30ms pulse once a second and increment a counter. At certain counter values, it needs to branch to a subroutine to sound chimes. The chiming takes several seconds. Meanwhile it still needs to keep watching for the one-second input. Is this something that requires a dual-core chip? Does GCB support those chips?

     
  • William Roth

    William Roth - 2021-03-24

    Hi,

    You can probably do that with a single core chip. It all depends upon what you have and how the chiming operates.

    But in order to offer any specific advise, we will need see you existing code. You can post your GCB code here as an attachment.

     

    Last edit: William Roth 2021-03-24
  • stan cartwright

    stan cartwright - 2021-03-28

    You could use the millis function.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.