Search found 56 matches

by Askjerry
Thursday 11th August 2022 7:56am
Forum: Component
Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Replies: 12
Views: 5971

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

Still no reply... wow... I really want to get this project moving. It looks like my option is to program an Atmel AVR in BASCOM and then read it via SPI... that is sort of Rube Goldberg... and I didn't want to interface one chip with another... because my subscribers are likely not going to have BAS...
by Askjerry
Sunday 24th July 2022 2:16pm
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 1854

Re: Using DrawArea - Simplified

BruceSteers... I'll tinker with this.
Thank you!
by Askjerry
Saturday 23rd July 2022 9:21pm
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 1854

Re: Using DrawArea - Simplified

Ok, I'll stick with DRAWINGAREA... it works and doesn't take much effort to drop in as an overlay.

Thanks,
Jerry
by Askjerry
Saturday 23rd July 2022 6:46pm
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 1854

Re: Using DrawArea - Simplified

If I create a DRAWINGAREA and paste some code on it... it works.

If I create a PICTUREBOX, then paste the exact same code... fails.
by Askjerry
Saturday 23rd July 2022 2:44am
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 1854

Re: Using DrawArea - Simplified

When I read through the documentation, it said the PAINT functions could be used in a DRAWINGAREA and/or the following.. Picture Image DrawingArea Printer SvgImage DRAWINGAREA works great... I make a PICTUREBOX and load in the SVG image... then I create a DRAWINGAREA and place it over the PICTUREBOX...
by Askjerry
Wednesday 13th July 2022 5:24am
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 1854

Re: Using DrawArea - Simplified

Feel free to use anything I have created... I'm still learning.

If you know someone who has figured out the ADS1115 chip in Gambas... that would be incredibly helpful :-)

If you need me to zip up some files I can do that too.

Jerry
by Askjerry
Saturday 25th June 2022 6:34pm
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 6
Views: 511

Re: DrawingArea PAINT.ROTATE(RAD(x))

BruceSteers - I'll play with your code and do some experimenting. Cogier - Not sure what went on... but as I thought... yours rotates the entire image. With my method... I can have the overlay (drawingarea) do multiple pointers, text, and even "fluid levels" (working on that) all on ONE image if I ...
by Askjerry
Saturday 25th June 2022 12:42am
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 6
Views: 511

Re: DrawingArea PAINT.ROTATE(RAD(x))

I created a new file in QT, pasted in the code and attempted to run it... NULL OBJECT in FMAIN 36 TEMP-ERROR.png Bummer. :( I do appreciate the effort... maybe I'm just missing something small. :roll: It also appears as if your code is rotating the entire drawingarea ... ( I could be wrong) my metho...
by Askjerry
Wednesday 22nd June 2022 12:49am
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 6
Views: 511

DrawingArea PAINT.ROTATE(RAD(x))

I have become pretty good at making gauges for GAMBAS, I drop in an SVG image, then overlay it with a DRAWINGAREA and draw a gauge with .stroke and .fill which look great. Public Sub drawingarea1_Draw() Dim cx As Integer = DrawingArea1.W / 2 'Horizontal Center Dim cy As Integer = DrawingArea1.h / 2 ...
by Askjerry
Thursday 28th April 2022 10:30pm
Forum: Beginners
Topic: Form Background Picture - Scale or Tile
Replies: 9
Views: 1536

Re: Form Background Picture - Scale or Tile

I found an easy work around, I just set an image box on the form, place the picture into it with "STRETCH" set to "TRUE".
Then, I set it to be the same size as the background form... for what I'm doing... it works a charm.
Control Panel Demo.png
Control Panel Demo.png (200.49 KiB) Viewed 1146 times
Thanks,
Jerry