Search found 26 matches

by Askjerry
Friday 04th June 2021 4:23am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 12
Views: 1182

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: 12
Views: 1182

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: 12
Views: 1182

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: 12
Views: 1182

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

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...
by Askjerry
Tuesday 27th April 2021 2:32am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 12
Views: 1182

Function Rotate(Angle As Float) As Image

I see that there is a function to rotate an image... I just can't seem to figure it out. Lets say that I have an image called " round_thing " and I make a button... obviously when I click it I will get... Public Sub Button1_Click() ' --- What goes here???? End What I want to do is something like rou...
by Askjerry
Monday 26th April 2021 11:26pm
Forum: Component
Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Replies: 8
Views: 882

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

That's not going to work... it has something like READ_ADS(0) to read the port 0... it doesn't get into specifics as to how it does it. I can get the extender chip to work... but not the ADS1115 chip. Seriously... to anyone reading this... I'll send you a module if you want to give it a shot... I ne...
by Askjerry
Monday 26th April 2021 9:56am
Forum: Component
Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Replies: 8
Views: 882

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

It was basically just to see IF there were any failures, and if so to locate what section of the code so that I could then make more lines to specifically go into each CASE statement and drill it down. If you want me to ship you a module please let me know. It has to be something simple I'm missing....
by Askjerry
Monday 26th April 2021 1:34am
Forum: Component
Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Replies: 8
Views: 882

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

I swear this chip is going to drive me crazy... a short drive actually . After not getting the ADS1115 to work properly I decided to try another IC that I am familiar with, the PCF8574 Extender Chip. The datasheet is here: https://www.ti.com/lit/ds/symlink/pcf8574.pdf Page 9 shows the address as fol...
by Askjerry
Saturday 13th March 2021 1:01am
Forum: Component
Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Replies: 8
Views: 882

Gambas + PIGPIO + I2C + ADS1115 A/D Chip

:roll: Honestly... I beat at a problem for a while before I ask for help... but I'm stumped as to what I am doing wrong here. The ADS1115 Datasheet specifically tells you what to put in to get a reading... and I think I'm doing just that. The problem is... I'm not getting any errors, but the chip co...