If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Ruby Counter
31 posts
• Page 2 of 4 • 1, 2, 3, 4
Re: Ruby Counter
Love the comments Trog, wonderful learning tool.
- fixstuff555
- Posts: 151
- Joined: Thu Oct 21, 2010 3:24 pm
Re: Ruby Counter
Thanks a lot, fixstuff - glad to know it is helpful.
Think I might do a few more like that - maybe easier to have it in a working schematic instead of long forum posts.
Think I might do a few more like that - maybe easier to have it in a working schematic instead of long forum posts.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Ruby Counter
trogluddite wrote:Here's a counter that should cover most bases...
Awesome....only had time for a quick look.....
fixstuff555 wrote:wonderful learning tool.
...yeh, it looks that way ....Thanks Trog.
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Ruby Counter
Had a closer look now...it's beautifully laid out and explained. Thanks again trog.
I love this part
Lots of my attempts kept going back to that area(def init).
At the moment, the first revelation i got was you can keep going with this
and keep defining "pre-existing" behaviours.
"Def this", "def that"...before you do the "def event"....cool....
i could see that was required, if i wanted a reset to happen, I would have to write
a "sub" program of some sort, to initialize the main code that would be running.
At the moment 99% of your tutorial is alien to my brain.
So I'm going to leave the tutorial, and take this little "crumb" of info, and milk it.......
When i come up empty-the other 99% still there to fall back on
What's that U2 song, "Waiting on the crumbs from your table"..........
Cheers mate.....
I love this part
- Code: Select all
def init
@count = 0
@old_count = 0
end
Lots of my attempts kept going back to that area(def init).
At the moment, the first revelation i got was you can keep going with this
and keep defining "pre-existing" behaviours.
- Code: Select all
def setup
@count = limit(@reset_value, @min, @max)
end
"Def this", "def that"...before you do the "def event"....cool....
i could see that was required, if i wanted a reset to happen, I would have to write
a "sub" program of some sort, to initialize the main code that would be running.
At the moment 99% of your tutorial is alien to my brain.
So I'm going to leave the tutorial, and take this little "crumb" of info, and milk it.......
When i come up empty-the other 99% still there to fall back on
What's that U2 song, "Waiting on the crumbs from your table"..........
Cheers mate.....
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Ruby Counter
Thanks for the kind words,guys, you are most welcome.
Well, now that a look away from the screen, my PC desk sure could do with a sweep - hope you like fig rolls!
billv wrote:"Waiting on the crumbs from your table".
Well, now that a look away from the screen, my PC desk sure could do with a sweep - hope you like fig rolls!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Ruby Counter
trogluddite wrote:hope you like fig rolls!
Is it fresh, or is it one of those pieces of food you find lying around the CPU
that you thought you had eaten a few days ago
..na, keep it...you've already given us noobs a 'smorgasbord" in that FSM...
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Ruby Counter
Finally born a ruby counter.
Thank Trog!
Thank Trog!
- pall
- Posts: 31
- Joined: Thu Dec 09, 2010 1:27 pm
- Location: Transilvania
Re: Ruby Counter
Counter won't re-set.
Trigger is bool to false from stop/start button.
Trigger works, but no re-set to "0" happens.
Circuit and settings in counter seem fine
Can't work it out
Trigger is bool to false from stop/start button.
Trigger works, but no re-set to "0" happens.
Circuit and settings in counter seem fine
Can't work it out
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Ruby Counter
output 3 in ticker is time but i think it should be nil to send a trigger when state changes to false, and it does the reset but you putted a trigger switch on the output which is the reason that you don`t get it..
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Ruby Counter
Nubeat7 wrote:you putted a trigger switch on the output which is the reason
Thanks mate. i just took it off and it re-sets fine.......
Not sure why i have a trigger switch in their yet , built it some time ago..will start again with it.
Cheers.
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
31 posts
• Page 2 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 84 guests