Search found 31 matches

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

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: 243

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: 243

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: 243

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: 1737

Re: Function Rotate(Angle As Float) As Image

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

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: 1737

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...
by Askjerry
Wednesday 05th May 2021 1:38am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 13
Views: 1737

Re: Function Rotate(Angle As Float) As Image

Stevedee: First time I've been on in a bit, I wanted to thank you for the code... it works! I'll need to tinker with it to see if I can dissect it better and get a better feel for it. I did notice that the image is a bit fuzzy as compared to the original image... so I think I will stick to the anim...
by Askjerry
Wednesday 28th April 2021 12:52am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 13
Views: 1737

Re: Function Rotate(Angle As Float) As Image

I kinda see where you are getting.. 1) There exists an image. 2) It makes a copy into memory. 3) It makes changes to this copy. 4) The copy is loaded into the image box as if it were an image. 5) The user sees the copy which has taken the place of the source image. If that is the case, we can load t...
by Askjerry
Tuesday 27th April 2021 12:22pm
Forum: Component
Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Replies: 8
Views: 1161

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

Thanks, I will go through my archive SD card ( I completely started over with this Raspberry Pi ) and I will see if I can find and deconstruct the code. ( That would be nice if I can pull it off. ) But the offer is still out there if someone wants to PM me I'll send an ADS1115 module to you so you c...