Hi Mike,

I could set it FALSE by default in the SSD1306 library. I could also remove the 
include of the IIC library at all from the SSD1306 library so that it has to be 
included by the main program and the user can set it there. I tried to make 
life simpler by including the required IIC or SPI libraries in the SSD1306 
library.

I am not sure what the best practice is, suggestions are welcome.

BTW I will include your 2 other suggestions also, but maybe this one too.

Kind regards,

Rob


________________________________
Van: 'Mike' via jallib <[email protected]>
Verzonden: zondag 6 september 2020 03:41
Aan: jallib <[email protected]>
Onderwerp: [jallib] Re: JAL Library for SSD1306 graphic display module.

FYI: If anyone is using an SSD1306 display with the i2c_hardware library, you 
may need to set the i2c_level to false.  This was tripping me up.  I have a 
128x32 display connected to a 12F1840 running a real time clock program and it 
kept locking up within a few minutes.  The problem was resolved with this line:

const bit  _i2c_level     = false

I was using "true" based on the comment in the library.  If "false" is a more 
tolerant level perhaps the library comment could indicate that?

Regards,
Mike



On Saturday, July 18, 2020 at 10:43:30 AM UTC-4, RobJ wrote:
Hi all,

I created a library for the graphic display module using the SSD1306 display 
controller.

For more info (with video) see: http://justanotherlanguage.org/node/321

The library will be available in the next bee package.

Kind regards,

Rob

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/35981006-63b1-45a0-ae30-82c07c1a3137o%40googlegroups.com<https://groups.google.com/d/msgid/jallib/35981006-63b1-45a0-ae30-82c07c1a3137o%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/AM0PR07MB6241B216CCDC4D7918F4CDFCE62B0%40AM0PR07MB6241.eurprd07.prod.outlook.com.

Reply via email to