Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Vulcans do not approve of violence. -- Spock, "Journey to Babel", stardate 3842.4


tech / sci.electronics.design / Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?

SubjectAuthor
* Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interJan Panteltje
+- Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any iDecadentLinuxUserNumeroUno
+* Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any iDon
|`* Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any iJan Panteltje
| `- Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any iDon
+- Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixelsChris
`- Re: High-performance visible-light lasers that fit on a fingertipJan Panteltje

1
Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?

<st5q65$hus$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=88874&group=sci.electronics.design#88874

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: pNaonStp...@yahoo.com (Jan Panteltje)
Newsgroups: sci.electronics.design
Subject: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?
Date: Sun, 30 Jan 2022 10:43:13 GMT
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <st5q65$hus$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Jan 2022 10:44:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="cde187956e7d9239401f0ca3ef417f79";
logging-data="18396"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XVtuWcM12NQjGelzwOmYQqmVS9kljOEc="
User-Agent: NewsFleX-1.5.7.5 (Linux-2.6.37.6)
Cancel-Lock: sha1:xcOPgDlq6OptRzlHgBx81Bm/EwY=
X-Newsreader-location: NewsFleX-1.5.7.5 (c) 'LIGHTSPEED' off line news reader for the Linux platform
NewsFleX homepage: http://www.panteltje.com/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
 by: Jan Panteltje - Sun, 30 Jan 2022 10:43 UTC

Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs
this uses GPIO pins and Linux kernel i2c.

The C code does _not_ depend on other libraries, and just compiles with gcc.
It can put small, big and huge text anywhere on the 128x64 OLED,
and even display 128x64 bitmaps.
+3.3V, SDA SCL and ground from GPIO.

If there is any interest here let me know in the group,
then I can make a release,

Can be used from a script (many command line options see below) or cslled from some program.

Looks like this:
http://panteltje.com/pub/raspi4_oled_IXIMG_0774.JPG
http://panteltje.com/pub/raspi4_oled_IXIMG_0775.JPG
http://panteltje.com/pub/raspi4_oled_IXIMG_0776.JPG

Was just test code for me for the kernel i2c interface,
but creates many application options.

raspi99: ~/compile/pantel/oled # ./lm096_oled_raspi -h
Panteltje lm096_oled_raspi-0.1
Usage:
lm096_oled_raspi [-a int] [-b int] [-c] [-d] [-f int] [-g] [-h] [-i] [-l buffer x1 y1 x2 y2 pixel_value] [-m filename] [-p buffer x y pixel_value] [-s] [-r] [-t text] [-v int] [-w] [-x int] [-y int] [-z]

-a int pixel value for plot, 0 or 1, default 1.
-b int filler byte for cls, 0-255, default 0.
-c cls, clear screen.
-d double height characters, use together with -g for double size characters.
-f int font, 0 = txtfont, 1 = s14font, default 0.
-g double width characters, use together with -d for double size characters.
-h help (this help).
-i inverse display.
-j int display display buffer int, range 0-1.
-k int set contrast, range 0-255.
-l buf x1 y1 x2 y2 p draw a line in buffer buf from x1,y1 to x2,y2 with pixel value p, p is 1 for white and 0 for black, default white.
-m filename load and display bitmap filename made with 'bitmap -size 128x64'.
-p buf x y p plot pixel value p at x, y in buffer buf.
//-s do a scan for all i2c addresses from 0-255, report the ones that do an ack, then exit OK.
-t text text to display.
-r do not reset and initialize OLED.
-v int verbose level, 1-3, default 0 = off.
//-w power off and exit OK.
-x int text x position in pixels, 0-127, default 0.
-x int text y position in rows, 0-7, default 0.
-z hardware zoom, sort of double height characters, use together with -g for double size characters, y is always 1, better use -d -g.

Examples
Do a cls, then put a specific text on the display at x positon 16 (pixels) y position 4 (row) using font 1 and background filler black:
lm096_oled -x 16 -y 4 -c -f 1 -b 0 -t "Hello world"

Display a bitmap made with the bitmap program:
lm096_oled -c -m hdp_speed.bmap

Simple animation of files made with the bitmap program:
lm096_oled -x 20 -y 3 -t "Animation" -c ; lm096_oled -x 32 -y 5 -t "demo" ; sleep 1 ;while [ 1 ] ; do lm096_oled -m d1.bmap -r ; lm096_oled -m d2.bmap -r ; done

Add text to an existing bitmap (no clear screen):
lm096_oled -t -x 10 -y 7 -t "Extra text"

Plot a pixel in buffer 0, at x, y = 3,10, with pixel value 1, 0,0 is top left, this uses the display buffer, and the whole buffer is send to the OLED:
lm096_oled -p "0 3 10 1"

Draw a line in buffer 0, from x1,y1 = 0,0 to x2,y2 = 127,63, pixel value 1, 0,0 is top left, this uses the display buffer, and the whole buffer is send to the OLED:
lm096_oled -k 255 -l "0 0 0 127 63 1"

Double size characters, multiple x, y positions, accumulated text:
lm096_oled -c -t "Hello" -k 255 -x 16 -y 0 -g -d; lm096_oled -r -t "World" -k 255 -x 16 -y 2 -g -d ; lm096_oled -r -t "Here" -k 255 -x 20 -y 4 -g -d ; lm096_oled -r -t "I am" -k 255 -x 16 -y 6 -g -d

Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?

<st5t8d$tiv$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=88877&group=sci.electronics.design#88877

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!aioe.org!5U2ooNuM5UP0Ynf/GmOnCg.user.46.165.242.91.POSTED!not-for-mail
From: Decadent...@decadence.org
Newsgroups: sci.electronics.design
Subject: Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?
Date: Sun, 30 Jan 2022 11:36:45 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <st5t8d$tiv$1@gioia.aioe.org>
References: <st5q65$hus$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="30303"; posting-host="5U2ooNuM5UP0Ynf/GmOnCg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Xnews/5.04.25
X-Notice: Filtered by postfilter v. 0.9.2
 by: Decadent...@decadence.org - Sun, 30 Jan 2022 11:36 UTC

Jan Panteltje <pNaonStpealmtje@yahoo.com> wrote in news:st5q65$hus$1
@dont-email.me:

> Wrote a program

>interests?

128 x 64?

Nope.

Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?

<20220130a@crcomp.net>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=88880&group=sci.electronics.design#88880

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: g...@crcomp.net (Don)
Newsgroups: sci.electronics.design
Subject: Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?
Date: Sun, 30 Jan 2022 14:46:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <20220130a@crcomp.net>
References: <st5q65$hus$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Jan 2022 14:46:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="580a7619fe8088ee1930290eab508d19";
logging-data="25071"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/VTf1CavQiOOK29E92lCB"
Cancel-Lock: sha1:w5rkoUb92+9vyH7WIK7Ep/LjmEU=
 by: Don - Sun, 30 Jan 2022 14:46 UTC

Jan Panteltje <pNaonStpealmtje@yahoo.com> wrote:
> Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs
> this uses GPIO pins and Linux kernel i2c.
>
> The C code does _not_ depend on other libraries, and just compiles with gcc.
> It can put small, big and huge text anywhere on the 128x64 OLED,
> and even display 128x64 bitmaps.
> +3.3V, SDA SCL and ground from GPIO.
>
> If there is any interest here let me know in the group,
> then I can make a release,

Please release your source. (An apropos URL embedded in your usenet
post was sorely missed in the first place, truth be known.) Although my
own Pis are loaded with FreeBSD, it ought to be possible to port your
Linux code to them.

On a related note, as you probably know, there's a lot of I2C out in the
wild. One of my current projects entails the creation of a gcc I2C
library for an MCU. And ARM actually achieves my goals better than PIC.
Microchip supposedly built its bloatware on top of GNU's toolchain.
But, it's too much work for me to free PIC development software from its
corporate chains. And I2C's too intricate for me to use MPASM.

Danke,

--
Don, KB7RPU, https://www.qsl.net/kb7rpu
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?

<st6e3g$61g$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=88881&group=sci.electronics.design#88881

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: pNaonStp...@yahoo.com (Jan Panteltje)
Newsgroups: sci.electronics.design
Subject: Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?
Date: Sun, 30 Jan 2022 16:23:04 GMT
Organization: A noiseless patient Spider
Lines: 82
Message-ID: <st6e3g$61g$1@dont-email.me>
References: <st5q65$hus$1@dont-email.me> <20220130a@crcomp.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Jan 2022 16:24:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="786915dc7ab15b1f157613f1783cc222";
logging-data="6192"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/swCIxbiu4huk+aQFBNeFHS+s+pH0HzFY="
User-Agent: NewsFleX-1.5.7.5 (Linux-2.6.37.6)
Cancel-Lock: sha1:QWiq+7q9X8+whaFM1CRDLf0R4rg=
X-Newsreader-location: NewsFleX-1.5.7.5 (c) 'LIGHTSPEED' off line news reader for the Linux platform
NewsFleX homepage: http://www.panteltje.com/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
 by: Jan Panteltje - Sun, 30 Jan 2022 16:23 UTC

On a sunny day (Sun, 30 Jan 2022 14:46:16 -0000 (UTC)) it happened "Don"
<g@crcomp.net> wrote in <20220130a@crcomp.net>:

>Jan Panteltje <pNaonStpealmtje@yahoo.com> wrote:
>> Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs
>> this uses GPIO pins and Linux kernel i2c.
>>
>> The C code does _not_ depend on other libraries, and just compiles with gcc.
>> It can put small, big and huge text anywhere on the 128x64 OLED,
>> and even display 128x64 bitmaps.
>> +3.3V, SDA SCL and ground from GPIO.
>>
>> If there is any interest here let me know in the group,
>> then I can make a release,
>
>Please release your source. (An apropos URL embedded in your usenet
>post was sorely missed in the first place, truth be known.) Although my
>own Pis are loaded with FreeBSD, it ought to be possible to port your
>Linux code to them.
>
>On a related note, as you probably know, there's a lot of I2C out in the
>wild. One of my current projects entails the creation of a gcc I2C
>library for an MCU. And ARM actually achieves my goals better than PIC.
> Microchip supposedly built its bloatware on top of GNU's toolchain.
>But, it's too much work for me to free PIC development software from its
>corporate chains. And I2C's too intricate for me to use MPASM.
>
>Danke,

It is on the website now:
http://panteltje.com/pub/lm06_oled_raspi-0.1.tgz
or use
wget http://panteltje.com/pub/lm06_oled_raspi-0.1.tgz

to unpack use
tar -zxvf lm06_oled_raspi-0.1.tgz
cd lm096_oled_raspi-0.1/

make

make install

Try running the date_to_oled script:
http://panteltje.com/pub/lm096_oled_raspi_date_to_oled_IXIMG_0777.JPG

This is a blue yellow LM096 OLED, in those the first 2 lines are always yellow.
There exist also all blue, all white and white-yellow ones (ebay, local shop here has those too at 2 x price).

Note the _controller-chip_ for the display is the SSD1306-1.2.pdf
the LM096 datasheet itself is not very helpfull.

I have put support for German umlauts in txtfont.h

Code is not simple
You can make bitmaps with
bitmap -size 128x64

Not sure all Linux distros still have that 'bitmap' program, but my old Slackware on the laptop has it.

Bugs:
The 'line' function works but clears any previous content.
Have to write a new one using the bitmap code some day..

Program was just for testing the kernel i2c driver on Raspberry Pi4
I have done the OLED thing after that in asm bit banging sda scl in many Microchip PIC projects.

To enable kernel i2c to GPIO in Raspberry Pi4 you need to use the raspiconfig menu:
raspiconfig -> interfacing options -> enable disable automatic loading of kernel i2c_module -> yes -> ESC
reboot

then
i2cdetect -y 1
shows 0x3c if the OLED is detected .
slave adresses are shifted.. in the Linux driver...
I did read the driver docs a hack ;-)
Thing did absolutely nothing
Had a good night sleep
next morning ?hack? lemme try .. and Yes it works.

Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?

<5fec7699-6674-48d1-b8c6-c8b3fba2a3d7n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=88893&group=sci.electronics.design#88893

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ad4:5bc8:: with SMTP id t8mr15466261qvt.77.1643578662717;
Sun, 30 Jan 2022 13:37:42 -0800 (PST)
X-Received: by 2002:a05:6902:1022:: with SMTP id x2mr27151185ybt.327.1643578662395;
Sun, 30 Jan 2022 13:37:42 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Sun, 30 Jan 2022 13:37:42 -0800 (PST)
In-Reply-To: <st5q65$hus$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=155.190.54.4; posting-account=Qldn6woAAADpKSXOFggZ2oKrkHh1H-fQ
NNTP-Posting-Host: 155.190.54.4
References: <st5q65$hus$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5fec7699-6674-48d1-b8c6-c8b3fba2a3d7n@googlegroups.com>
Subject: Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels
OLEDs, any interests?
From: chris....@live.com (Chris)
Injection-Date: Sun, 30 Jan 2022 21:37:42 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 76
 by: Chris - Sun, 30 Jan 2022 21:37 UTC

On Sunday, 30 January 2022 at 21:44:28 UTC+11, Jan Panteltje wrote:
> Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs
> this uses GPIO pins and Linux kernel i2c.
>
> The C code does _not_ depend on other libraries, and just compiles with gcc.
> It can put small, big and huge text anywhere on the 128x64 OLED,
> and even display 128x64 bitmaps.
> +3.3V, SDA SCL and ground from GPIO.
>
> If there is any interest here let me know in the group,
> then I can make a release,
>
> Can be used from a script (many command line options see below) or cslled from some program.
>
> Looks like this:
> http://panteltje.com/pub/raspi4_oled_IXIMG_0774.JPG
> http://panteltje.com/pub/raspi4_oled_IXIMG_0775.JPG
> http://panteltje.com/pub/raspi4_oled_IXIMG_0776.JPG
>
>
> Was just test code for me for the kernel i2c interface,
> but creates many application options.
>
> raspi99: ~/compile/pantel/oled # ./lm096_oled_raspi -h
> Panteltje lm096_oled_raspi-0.1
> Usage:
> lm096_oled_raspi [-a int] [-b int] [-c] [-d] [-f int] [-g] [-h] [-i] [-l buffer x1 y1 x2 y2 pixel_value] [-m filename] [-p buffer x y pixel_value] [-s] [-r] [-t text] [-v int] [-w] [-x int] [-y int] [-z]
>
> -a int pixel value for plot, 0 or 1, default 1.
> -b int filler byte for cls, 0-255, default 0.
> -c cls, clear screen.
> -d double height characters, use together with -g for double size characters.
> -f int font, 0 = txtfont, 1 = s14font, default 0.
> -g double width characters, use together with -d for double size characters.
> -h help (this help).
> -i inverse display.
> -j int display display buffer int, range 0-1.
> -k int set contrast, range 0-255.
> -l buf x1 y1 x2 y2 p draw a line in buffer buf from x1,y1 to x2,y2 with pixel value p, p is 1 for white and 0 for black, default white.
> -m filename load and display bitmap filename made with 'bitmap -size 128x64'.
> -p buf x y p plot pixel value p at x, y in buffer buf.
> //-s do a scan for all i2c addresses from 0-255, report the ones that do an ack, then exit OK.
> -t text text to display.
> -r do not reset and initialize OLED.
> -v int verbose level, 1-3, default 0 = off.
> //-w power off and exit OK.
> -x int text x position in pixels, 0-127, default 0.
> -x int text y position in rows, 0-7, default 0.
> -z hardware zoom, sort of double height characters, use together with -g for double size characters, y is always 1, better use -d -g.
>
> Examples
> Do a cls, then put a specific text on the display at x positon 16 (pixels) y position 4 (row) using font 1 and background filler black:
> lm096_oled -x 16 -y 4 -c -f 1 -b 0 -t "Hello world"
>
> Display a bitmap made with the bitmap program:
> lm096_oled -c -m hdp_speed.bmap
>
> Simple animation of files made with the bitmap program:
> lm096_oled -x 20 -y 3 -t "Animation" -c ; lm096_oled -x 32 -y 5 -t "demo" ; sleep 1 ;while [ 1 ] ; do lm096_oled -m d1.bmap -r ; lm096_oled -m d2.bmap -r ; done
>
> Add text to an existing bitmap (no clear screen):
> lm096_oled -t -x 10 -y 7 -t "Extra text"
>
> Plot a pixel in buffer 0, at x, y = 3,10, with pixel value 1, 0,0 is top left, this uses the display buffer, and the whole buffer is send to the OLED:
> lm096_oled -p "0 3 10 1"
>
> Draw a line in buffer 0, from x1,y1 = 0,0 to x2,y2 = 127,63, pixel value 1, 0,0 is top left, this uses the display buffer, and the whole buffer is send to the OLED:
> lm096_oled -k 255 -l "0 0 0 127 63 1"
>
> Double size characters, multiple x, y positions, accumulated text:
> lm096_oled -c -t "Hello" -k 255 -x 16 -y 0 -g -d; lm096_oled -r -t "World" -k 255 -x 16 -y 2 -g -d ; lm096_oled -r -t "Here" -k 255 -x 20 -y 4 -g -d ; lm096_oled -r -t "I am" -k 255 -x 16 -y 6 -g -d

Maybe post in comp.sys.raspberry-pi also?

--
Cheers,
Chris.

Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?

<20220512a@crcomp.net>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=96747&group=sci.electronics.design#96747

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: g...@crcomp.net (Don)
Newsgroups: sci.electronics.design
Subject: Re: Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs, any interests?
Date: Thu, 12 May 2022 15:34:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 108
Message-ID: <20220512a@crcomp.net>
References: <st5q65$hus$1@dont-email.me> <20220130a@crcomp.net> <st6e3g$61g$1@dont-email.me> <gv6evgh1edlai8037hesgck7qvdip7g53b@4ax.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 12 May 2022 15:34:58 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b691b219e0cc45267b308411164f2aab";
logging-data="7015"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xTp+dr3Gc97Gtxl52auNu"
Cancel-Lock: sha1:bX7vckqF2tm444ysB3uEhZbLLws=
 by: Don - Thu, 12 May 2022 15:34 UTC

boB wrote:
> Jan Panteltje wrote:
>> "Don" wrote:
>>>Jan Panteltje wrote:
>>>> Wrote a program for Raspberry Pi 4 to drive small 128x64 pixels OLEDs
>>>> this uses GPIO pins and Linux kernel i2c.
>>>>
>>>> The C code does _not_ depend on other libraries, and just compiles with gcc.
>>>> It can put small, big and huge text anywhere on the 128x64 OLED,
>>>> and even display 128x64 bitmaps.
>>>> +3.3V, SDA SCL and ground from GPIO.
>>>>
>>>> If there is any interest here let me know in the group,
>>>> then I can make a release,
>>>
>>>Please release your source. (An apropos URL embedded in your usenet
>>>post was sorely missed in the first place, truth be known.) Although my
>>>own Pis are loaded with FreeBSD, it ought to be possible to port your
>>>Linux code to them.
>>>
>>>On a related note, as you probably know, there's a lot of I2C out in the
>>>wild. One of my current projects entails the creation of a gcc I2C
>>>library for an MCU. And ARM actually achieves my goals better than PIC.
>>> Microchip supposedly built its bloatware on top of GNU's toolchain.
>>>But, it's too much work for me to free PIC development software from its
>>>corporate chains. And I2C's too intricate for me to use MPASM.
>>
>>It is on the website now:
>> http://panteltje.com/pub/lm06_oled_raspi-0.1.tgz
>>or use
>> wget http://panteltje.com/pub/lm06_oled_raspi-0.1.tgz
>>
>>to unpack use
>> tar -zxvf lm06_oled_raspi-0.1.tgz
>> cd lm096_oled_raspi-0.1/
>>
>>make
>>
>>make install
>>
>>Try running the date_to_oled script:
>> http://panteltje.com/pub/lm096_oled_raspi_date_to_oled_IXIMG_0777.JPG
>>
>>This is a blue yellow LM096 OLED, in those the first 2 lines are always yellow.
>>There exist also all blue, all white and white-yellow ones (ebay, local
>>shop here has those too at 2 x price).
>>
>>Note the _controller-chip_ for the display is the SSD1306-1.2.pdf
>>the LM096 datasheet itself is not very helpfull.
>>
>>I have put support for German umlauts in txtfont.h
>>
>>Code is not simple
>>You can make bitmaps with
>> bitmap -size 128x64
>>
>>Not sure all Linux distros still have that 'bitmap' program, but my old
>>Slackware on the laptop has it.
>>
>>Bugs:
>>The 'line' function works but clears any previous content.
>>Have to write a new one using the bitmap code some day..
>>
>>Program was just for testing the kernel i2c driver on Raspberry Pi4
>>I have done the OLED thing after that in asm bit banging sda scl in
>>many Microchip PIC projects.
>>
>>
>>To enable kernel i2c to GPIO in Raspberry Pi4 you need to use the
>>raspiconfig menu:
>> raspiconfig -> interfacing options -> enable disable automatic
>>loading of kernel i2c_module -> yes -> ESC
>> reboot
>>
>>then
>> i2cdetect -y 1
>>shows 0x3c if the OLED is detected .
>>slave adresses are shifted.. in the Linux driver...
>>I did read the driver docs a hack ;-)
>>Thing did absolutely nothing
>>Had a good night sleep
>>next morning ?hack? lemme try .. and Yes it works.
>
> Thanks !
>
> We use a small OLED display on our Orange Pi.
>
> Probably similar

This turned into a rather deep rabbit hole for me. It all started with
the old FreeBSD 11v2 ARM originally loaded on my Raspberry Pi2 - without
the optional gmake or gcc packages installed. Retroactive installation
of the two soon devolved into Mission Impossible.
So the OS was upgraded to FreeBSD 14v0. It then became trivial to
install both gmake and gcc. Unfortunately, BSD's implementation of I2C
on a RPi2 is a little different.
At any rate, my "Hello World" program is now able to use a PCF8574A
to drive eight LEDs. God willing, the remainder of my RPi2 I2C OLED
project ought to fall into place shortly. Links to apropos webpages on
my site will be posted as this project wraps up.

Danke,

--
Don, KB7RPU, https://www.qsl.net/kb7rpu
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

Re: High-performance visible-light lasers that fit on a fingertip

<tp99r2$365o7$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=113845&group=sci.electronics.design#113845

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: pNaonStp...@yahoo.com (Jan Panteltje)
Newsgroups: sci.electronics.design
Subject: Re: High-performance visible-light lasers that fit on a fingertip
Date: Fri, 06 Jan 2023 14:03:58 GMT
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tp99r2$365o7$1@dont-email.me>
References: <st5q65$hus$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 6 Jan 2023 14:05:22 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="21e92c8b7edc289bf51c717666ab13f9";
logging-data="3348231"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eFz26IFszsvEwsILsRSlQvhrRQv70KdM="
User-Agent: NewsFleX-1.5.7.5 (Linux-2.6.37.6)
Cancel-Lock: sha1:Od8I1fIt9uwD74bg7nvLsdu4k84=
X-Newsreader-location: NewsFleX-1.5.7.5 (c) 'LIGHTSPEED' off line news reader for the Linux platform
NewsFleX homepage: http://www.panteltje.com/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
 by: Jan Panteltje - Fri, 6 Jan 2023 14:03 UTC

On a sunny day (Fri, 6 Jan 2023 08:51:21 -0500) it happened Bob Engelhardt
<BobEngelhardt@comcast.net> wrote in <sHVtL.190678$Tcw8.123845@fx10.iad>:

>On 1/6/2023 2:21 AM, Jan Panteltje wrote:
>> [...] petahertz per second
>There goes their credibility.

Yea, sciencedaily does at times make funny errors in reporting.
Last week they were talking about 100 Hz in a GHz or so system IIRC.
But you can follow the links at the end of the articles if it is not asking for
like 35 dollars to view the pdf...
A fast tunable laser over the whole visible spectrum would allow for a great
simple color laser projector for example.
I have now one with 3 lasers for R, G and B, used it to project things at new
years eve in stead of explosive fireworks.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor