Einhugur Plugin Releases (2024)

Gpiod Plugin 1.0 is out.

This plugin is a wrapper for libgpiod from: libgpiod/libgpiod.git - C library and tools for interacting with the linux GPIO character device

This plugin is part of our community effort project so the plugin is completely free and open source.

The plugin encapsulates the libpgiod so does not require libpgiod to be installed.

All example projects have been tested with Raspberry Pi 2, 3, 4 (and I know a user has tested at least one example project on Raspberry Pi 5).

Additionally the plugin has been tested on the following boards: Orange Pi One, Orange Pi 2, Orange Pi 5 Plus, Rock64. (Only pin scan so far on the Orange Pi 5 plus)

The plugin deals with async operations in native threads masking the difficult things to do in Xojo.

New in version 1.0

  • Added AllChips shared method to the Chip class.
  • Added LineCount property to the LineRequest object.
  • Added LineOffsets function to the LineRequest object.
  • Added ValuesSubset getter / setter function to the LineRequest object.
  • Added AllValues getter / setter function to the LineRequest object.
  • Added ValueSet class.
  • Updated the Get line info example project to support multi chip boards.

Download link for the plugin:
https://www.einhugur.com/Downloads/Plugs/GpiodPlugin.zip

Source code for the plugin:
https://bitbucket.org/einhugur/gpiodplugin/src/main/

I have also slowly been rebuilding the old GPIO guides to use the Gpiod Plugin and the I2C Plugin instead of Wiring Pi, so you will find more example projects and guides there:

5 Likes

This is Great Work, thanks! I’m not using RPi at the moment, but if and when I do, this will be golden.

2 Likes

Thanks Björn!

1 Like

I2C Plugin 1.1 for Xojo is out.

The I2C plugin is to connect to devices that operate on I2C bus on Raspberry Pi or other small board machines.

This plugin is part of our community effort project so the plugin is completely free and open source.

New in version 1.1:

  • Added DelayMicroseconds method to the I2C module.
  • Added DelayMilliseconds method to the I2C module.
  • Added ReadBytes function to the Adapter class.

The plugin has been tested to run on Raspberry Pi 2, 3, 4, 5, Orange Pi One, Orange Pi 2, Orange Pi 2 Plus, Orange Pi Plus 2E, Orange Pi PC, Orange Pi PC Plus, Orange Pi Lite.

Additionally then Bus scan has been tested on Orange Pi 5 Plus but not making actual I2C connection with a device connected there yet.

The plugin comes with example project for how to scan the I2C Bus.

I have also added 2 projects that show how to connect to I2C devices in our guides. (One to connect to BMP180 sensor and the other to connect to BMP280 sensor)

Link to our guides for Xojo:

Source code for the plugin:
https://bitbucket.org/einhugur/i2c-plugin/src/main/

Download link for the plugin:
https://www.einhugur.com/Downloads/Plugs/I2CPlugin.zip

7 Likes

SPI Plugin 1.0 for Xojo is out

This new plugin is to interface with SPI devices on Raspberry Pi and other compatible boards.

Like our 2 other device plugins for Xojo then this plugin is completely free and Open source.

I have limited experience with the SPI protocol and did not have any simple enough device to test on. So my only test so far was by wiring MOSI to MISO and open connection and write some bytes and see if I would get them echoed back. (Which did work).

If you have knowledge and device you know how to code against then this project could need your help.

The built plugin can be found here:
https://www.einhugur.com/Downloads/Plugs/SPIPlugin.zip

And the source code can be found here:
einhugur / spi-plugin ‚ÄĒ Bitbucket

2 Likes

e-CryptIt Engine plugin for Xojo version 16.1.4 is out

The e-CryptIt Engine is a massive multipurpose plugin that dates back to 1998.

New in version 16.1.4:

Fixed problem demo message getting shown from one of the segments.

The plugin features:

Encryption:

e-CryptIt (chained)
Blowfish ECB unchained mode
Blowfish CBC chained mode
Twofish ECB unchained mode
Twofish CBC unchained mode
Twofish CFB1 unchained mode
AES ECB unchained mode
AES CBC chained mode
Serpent ECB unchained mode
Serpent CBC chained mode

Encoding/Decoding:

e-CryptIt Flexible
Base32 for RFC 4648
Base32 for base32hex - RFC 2938
Base32 for z-base-32
Base64
Base64 for MIME
UUCoding
YEncDecoder
YEncEncoder

Compression:

Zip on strings
Zip on filestreams (.gz format)
Zip archives (.zip format)
LZMA compression (.lmza format)
LZMA2 compression
Zstandard compression

Checksums:

CRC1
CRC3
CRC8 (10 variations + custom)
CRC16 (21 variations + custom)
CRC32 (9 variations + custom)
CRC64 (4 variations)
Adler32

Hashing:

MD5
SHA
SHA1
SHA_256
SHA_384
SHA_512
SHA3 (224, 256, 384 ,512)
RIPEMD_128
RIPEMD_160
RIPEMD_256
RIPEMD_320

Keyed-hashing:

HMAC-MD5
HMAC-SHA1
HMAC-SHA-256
HMAC-SHA-384
HMAC-SHA-512
HMAC-SHA3 (224, 256, 384 ,512)

Password hashing:

Bcrypt

Two factor authentication:

2FA TOTP

Message signing and secret exchange:

ed25519

More info at https://www.einhugur.com

3 Likes

@Bj√∂rn_Eir√≠ksson - does the LZMA support in the plugin mean it‚Äôs compatible with ‚Äúmost‚ÄĚ .7z (7zip) archives? (which default to LZMA I believe‚Ķ)

Anthony

7z uses LZMA as compression yes, so the compression is compatible. But 7z also has archive file format around it which is called 7z. We do not do 7z archive file format.

Think of it like .z compression vs zip archives.

TextInputCanvas plugin 2.1.2 for Xojo has been released

TextInputCanvas is a plugin for the Xojo programming environment that allows developers to implement custom text input controls with international input support.

Our TextInputCanvas is fork of the TextInputCanvas from Xojo Inc.

We have progressed their version and provide builds for everyone for all platforms.

This plugin is completely free and open source and part of our community plug project for Xojo.

Note: We cannot help you with setting up build tool chain or provide you with any custom tools we use in our tool chain.

New in version 2.1.2:

  • Added missing CmdCancel constant. (Thanks to Martin)

Our git repo can be found here:
https://bitbucket.org/einhugur/textinputcanvas/src/master/

Built plugin can be downloaded here:
https://einhugur.com/Html/opensource.html

4 Likes

SearchControl plugin for Xojo version 5.5 is out

The SearchControl is a Xojo plugin control to represent search user interface functionality.

New in version 5.5:

  • Added AccessibilityTitle property. (macOS only)
  • Added AccessibilityLabel property. (macOS only)
  • Added MouseExit event.
  • Added MouseMove event.

image
SearchControl dark mode on Windows 10, SearchControl dark mode focused on Windows 10.
SearchControl dark mode on Windows 11, SearchControl dark mode focused on Windows 11.

More info at https://www.einhugur.com

4 Likes