Search found 64 matches

by Askjerry
Thursday 25th February 2021 6:18am
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 15
Views: 13725

Re: Programatically Assign Picture to PictureBox

I was using pseudo code to describe the button as I was typing from my laptop in a different area. The color change code was not added until today... so that's not the reason... I only really noticed the button was not green today and started thinking, "maybe I should specify it in code." ...
by Askjerry
Thursday 25th February 2021 1:14am
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 15
Views: 13725

Re: Programatically Assign Picture to PictureBox

I thought I would insert an image or two to show you how it is going. (Which is a mixture of GREAT and Odd.) http://askjerry.info/gambas3/forum/Design_Mode.png This is what it looks like in design mode. Notice the green button, and how the slider looks. http://askjerry.info/gambas3/forum/Run_Mode.pn...
by Askjerry
Wednesday 24th February 2021 7:47pm
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 15
Views: 13725

Re: Programatically Assign Picture to PictureBox

Bruce nailed it. I changed the line to read GAUGE.Picture = Picture.Load("home/pi/G2-IMAGE/G2-00056.png") and ran the program... it popped up with the proper image perfectly placed. ( The images were generated with an animation program and are all exactly 200x200 pixels. ) I should have n...
by Askjerry
Wednesday 24th February 2021 6:00am
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 15
Views: 13725

Programatically Assign Picture to PictureBox

I created a PictureBox and called it GAUGE . I have a folder home/Pi/GUAGE_IMAGE which contains 100 images G2_00001 through G2_00100 each of a 3D looking Gauge with the needle in 100 different positions. So what I want to do is take some variable... say from a sensor or a slider... then apply math t...
by Askjerry
Saturday 13th February 2021 7:24pm
Forum: Component
Topic: Gambas --> Beaglebone Black
Replies: 10
Views: 16621

Re: Gambas --> Beaglebone Black

It took a few years... but I finally hit the point where I'm able to control GPIO from GAMBAS on the Raspberry Pi.
https://forum.gambas.one/viewtopic.php?f=6&t=1030

So I'm not the sharpest tool in the shed... I get there eventually...
by Askjerry
Saturday 13th February 2021 7:03pm
Forum: Component
Topic: GPIO in Gambas - Need information.
Replies: 9
Views: 7107

Re: GPIO in Gambas - Need information.

Thank you again! I will look into the web pages you suggest in just a bit. As far as the resistors and such go... I've got a solid handle on that... been doing electronics since 1972. (Thanks dad.) and I'm a CET. (Certified Electronics Tech) with over 30 years experience. Check out my Youtube channe...
by Askjerry
Saturday 13th February 2021 5:53pm
Forum: Component
Topic: GPIO in Gambas - Need information.
Replies: 9
Views: 7107

Re: GPIO in Gambas - Need information.

Ok... let me put it this way... I'm like a 10-year old that took dad's car keys... I know what the gas pedal is, and the steering wheel... but insofar as the minutia of properly operating the car... nope. I'm gonna hit a few mailboxes. So... this is what happened... pi@cnc:~ $ sudo gambas3 libEGL wa...
by Askjerry
Saturday 13th February 2021 10:34am
Forum: Component
Topic: GPIO in Gambas - Need information.
Replies: 9
Views: 7107

Re: GPIO in Gambas - Need information.

Not sure what to do now. On your page: https://captainbodgit.blogspot.com/2016/08/raspberry-pi-gpio-gambas-pigpio-library.html It says... Now try to run the project in the Gambas IDE. It will probably report:- "Failed: must be run as root" ...because you are not running as root. So close G...
by Askjerry
Saturday 13th February 2021 10:02am
Forum: Component
Topic: GPIO in Gambas - Need information.
Replies: 9
Views: 7107

Re: GPIO in Gambas - Need information.

Thank you! I followed the install instructions and it looks like it is loaded correctly... Testing pigpio C I/F pigpio version 78. Hardware revision 10494163. Mode/PUD/read/write tests. TEST 1.1 PASS (set mode, get mode: 0) TEST 1.2 PASS (set pull up down, read: 1) TEST 1.3 PASS (set pull up down, r...
by Askjerry
Saturday 13th February 2021 5:32am
Forum: Component
Topic: GPIO in Gambas - Need information.
Replies: 9
Views: 7107

GPIO in Gambas - Need information.

I want to control GPIO pins in Gambas, but it appears that the way to do this (wiringpi) has been deprecated. (Pulled off the internet.) RE: http://wiringpi.com/news/ So... I have the latest version of Gambas 3.12 or 3.15 at this writing... but I know of no way to access the GPIO pins. Can anyone he...