Search found 57 matches

by PartierSP
Monday 31st January 2022 12:03am
Forum: Project showcase
Topic: Sudoku
Replies: 13
Views: 18997

Re: Sudoku

Nice interface. Even though it requires the keyboard for number entry, it is a very efficient entry system for this game. I really like the no clicking required action with the mouse. Just hover and enter the correct value. This works well whether you enter the values systematically (aka all the one...
by PartierSP
Monday 24th January 2022 5:02am
Forum: Component Showcase
Topic: Joystick Class
Replies: 5
Views: 9357

Re: Joystick Class

No probs. Suggestions are always welcomed. :) I did some more playing around with the class I uploaded and for some reason its not letting me create an instance at run time. I end up loosing the ability to click things with the mouse. But dropping an instance onto a form works well. So this is not a...
by PartierSP
Friday 21st January 2022 10:06pm
Forum: Component Showcase
Topic: Joystick Class
Replies: 5
Views: 9357

Re: Joystick Class

Yes I have seen that. I downloaded that request and merged it into the latest source and successfully compiled it. But I was having trouble getting it to work. And seeing that it has fallen stale by 2 years I figured it isn't coming any time soon. :( So I taking the 'advise' from your signature, &qu...
by PartierSP
Friday 21st January 2022 10:41am
Forum: Component Showcase
Topic: Joystick Class
Replies: 5
Views: 9357

Joystick Class

I've been looking for a way to integrate a joystick into one of my Gambas projects but couldn't find any official support. After doing a lot of searching, I found a wonderful project written by jsbsan on GitHub where he started to reproduce the old video game 1945 in Gambas and it has joystick suppo...
by PartierSP
Thursday 6th January 2022 7:15am
Forum: General
Topic: A simple 'pipe' opening and "Watch" routine
Replies: 2
Views: 3073

Re: A simple 'pipe' opening and "Watch" routine

Hey Bruce, any chance of this working on a device file like /dev/input/js0? I tried editing the Pipe line to point to the joystick, and had to rem the Shell echo line as the file is read only. But I'm getting the program lock-up issue you described. Even moving the joystick doesn't unlock the progra...
by PartierSP
Thursday 6th January 2022 5:43am
Forum: General
Topic: Delay when sending / receiving via serial port
Replies: 5
Views: 2964

Re: Delay when sending / receiving via serial port

So it probably is the actual serial port its self that's causing the delay. That may be why I liked the old 80's/90's serial cards. They weren't fancy, but seemed to obey strict communication standards. Unfortunately I can not advise on what would be a good replacement that would work in modern equi...
by PartierSP
Tuesday 4th January 2022 7:34pm
Forum: Beginners
Topic: Where's the Farm?
Replies: 8
Views: 5592

Re: Where's the Farm?

I'm such a noob! :lol:

I remember there being some examples on the old Gambas from years ago. But I didn't see them on version 3 any more. But low and behold there they are.

Thanks!
by PartierSP
Tuesday 4th January 2022 10:10am
Forum: Beginners
Topic: Where's the Farm?
Replies: 8
Views: 5592

Where's the Farm?

I've been hoping to look through some more code examples and keep hearing about the "Gambas Farm" but have yet to find it. All the links I've seen have sent me to either blank pages or sent 403 errors (Forbidden). Is the Farm part of an old Gambas site that's no longer available as we're i...
by PartierSP
Tuesday 4th January 2022 9:46am
Forum: General
Topic: Delay when sending / receiving via serial port
Replies: 5
Views: 2964

Re: Delay when sending / receiving via serial port

Is it possible that your hardware is buffering the data? I've got two computers that are dedicated to serial transmissions. One is an old 486 DOS based machine, and the other is a Windows 10 on modern hardware with on board RS-232. Both of them are used to talk to the same machine on my shop floor. ...
by PartierSP
Wednesday 29th December 2021 7:54pm
Forum: Project showcase
Topic: Bed Leveller (3D Printer Assistant)
Replies: 34
Views: 32252

Re: Bed Leveller (3D Printer Assistant)

I've included the SLEEP to allow the read buffer to capture an entire line before the code starts to parse the data. Otherwise I was trying to parse a partial temperature line and then parse the rest later. If the SLEEP starts to be unreliable, I would have to build a buffer and monitor for an end o...