Search found 64 matches

by Askjerry
Monday 21st March 2022 4:44am
Forum: Component
Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Replies: 16
Views: 18822

Re: Gambas + PIGPIO + I2C + ADS1115 A/D Chip

Still no answer here on reading the ADS1115... I realize that the PIGPIO can also be used with C and other languages but the calls will remain the same. Does anyone here have code in another language that reads the ADS1115 using PIGPIO? If so, please post your code... I may be able to use what you h...
by Askjerry
Saturday 14th August 2021 5:10am
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 15
Views: 13484

Re: Programatically Assign Picture to PictureBox

Bruce... it turned out that I needed to create the project in QT mode... then the button colors were fine... and the sliders look a hell of a lot better.

It's all in this video if you are interested...
https://www.youtube.com/watch?v=L3XHeS-iGl4
by Askjerry
Friday 13th August 2021 3:20pm
Forum: Component
Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Replies: 16
Views: 18822

Re: Gambas + PIGPIO + I2C + ADS1115 A/D Chip

BriggTrim ->

No, there is no documentation on how to use this chip with Gambas and PIGPIO. Once I figure it out, or someone else does and tells me how... I will post the results and code here.

Jerry
by Askjerry
Sunday 25th July 2021 3:27am
Forum: Project showcase
Topic: Gambas on Raspberry Pi - Youtube
Replies: 0
Views: 3675

Gambas on Raspberry Pi - Youtube

I have been working with Gambas on the Raspberry Pi and I have been making a series of videos to help others learn how to do it.

I thought I would share my playlist with anyone interested.

https://www.youtube.com/playlist?list=P ... 3G-0tHaD_S

Jerry
by Askjerry
Friday 16th July 2021 5:01am
Forum: Component
Topic: Create Desktop Shortcut Using SUDO
Replies: 8
Views: 7717

Re: Create Desktop Shortcut Using SUDO

You got me on the right track... it is working now!

[

Code: Select all

Desktop Entry]
Name=GAMBAS
Comment=Gambas Programming Language
Icon=/usr/share/pixmaps/openbox.xpm
Exec=lxterminal -e sudo gambas3
Type=Application
Encoding=UTF-8
Terminal=false
Categories=None;
Thank you!
Jerry
by Askjerry
Thursday 15th July 2021 1:28pm
Forum: Component
Topic: Create Desktop Shortcut Using SUDO
Replies: 8
Views: 7717

Re: Create Desktop Shortcut Using SUDO

Wow... was not expecting that. I thought it would be something like right-click and type this... Looks like your code was written in Gambas... so if I understand you... put that code in ( modified accordingly ), run it, and it will create the desktop Icon / Launcher for the program. I'll play around...
by Askjerry
Thursday 15th July 2021 2:31am
Forum: Component
Topic: Create Desktop Shortcut Using SUDO
Replies: 8
Views: 7717

Create Desktop Shortcut Using SUDO

I am using piGPIO for Gambas3, it has a bunch of great features and is my default programming environment now. The thing is, it needs to be run as SUDO or the component library fails to initialize. From TERMINAL if I type SUDO GAMBAS3 it comes up and runs perfectly. I'm a lazy man... I just want to ...
by Askjerry
Thursday 15th July 2021 2:22am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 13
Views: 10907

Re: Function Rotate(Angle As Float) As Image

Here are a couple of files to play with...
http://askjerry.info/SVG/
by Askjerry
Friday 4th June 2021 4:23am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 13
Views: 10907

Re: Function Rotate(Angle As Float) As Image

I'm very happy you liked the samples and could get them to load. The shadow in the gauge is really easy... create a pointer and name it as such, make a copy and name it shadow. Then color the shadow black, set it to be partially transparent, and offset it slightly. Then rotate both the same amount. ...
by Askjerry
Sunday 30th May 2021 3:32am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 13
Views: 10907

Re: Function Rotate(Angle As Float) As Image

I will look at the link you sent... if I can use SVG natively in Gambas it would be great. I don't know if you are aware or not, but in the SVG format everything is named... or has a reference. This means that you can tell the file to make changes. Rather than explain it all, I'll send you to a page...