Alright,
insert the python code made by pepijn, all I see is two white lines,
question:
# Configuratie
cfgDomoticzHost = ""
cfgSpeed = 4
what to enter by cfgDomoticzHost ? just the IP adres or Ipadres:8080?
Regards
Search found 8 matches
- Monday 22 June 2015 22:50
- Forum: Show your projects
- Topic: LCD (20x4 made in China)
- Replies: 69
- Views: 32718
- Sunday 21 June 2015 1:28
- Forum: Show your projects
- Topic: LCD (20x4 made in China)
- Replies: 69
- Views: 32718
Re: LCD (20x4 made in China)
MikeF you are the man !!!!!
Works fine now seeing hello world, now let's use the right script....
Works fine now seeing hello world, now let's use the right script....
- Friday 19 June 2015 1:03
- Forum: Show your projects
- Topic: LCD (20x4 made in China)
- Replies: 69
- Views: 32718
Re: LCD (20x4 made in China)
Jep just blue....
Regards
Regards
- Friday 19 June 2015 0:36
- Forum: Show your projects
- Topic: LCD (20x4 made in China)
- Replies: 69
- Views: 32718
Re: LCD (20x4 made in China)
Hi pepijn,
here's my py script:
from lcd_display import lcd
my_lcd = lcd()
my_lcd.display_string("Hello World", 1)
lcd.py:
import i2c_lib
from time import sleep
# LCD Address
ADDRESS = 0x27
# commands
LCD_CLEARDISPLAY = 0x01
LCD_RETURNHOME = 0x02
LCD_ENTRYMODESET = 0x04
LCD_DISPLAYCONTROL ...
here's my py script:
from lcd_display import lcd
my_lcd = lcd()
my_lcd.display_string("Hello World", 1)
lcd.py:
import i2c_lib
from time import sleep
# LCD Address
ADDRESS = 0x27
# commands
LCD_CLEARDISPLAY = 0x01
LCD_RETURNHOME = 0x02
LCD_ENTRYMODESET = 0x04
LCD_DISPLAYCONTROL ...
- Wednesday 17 June 2015 23:32
- Forum: Show your projects
- Topic: LCD (20x4 made in China)
- Replies: 69
- Views: 32718
Re: LCD (20x4 made in China)
Hi there,
I have checked my wiring, changing then causes me an error, so the wiring is correct.
Maybe my lcd is different....
I tried the standard settings and also your script...
regards...
I have checked my wiring, changing then causes me an error, so the wiring is correct.
Maybe my lcd is different....
I tried the standard settings and also your script...
regards...
- Monday 15 June 2015 23:32
- Forum: Show your projects
- Topic: LCD (20x4 made in China)
- Replies: 69
- Views: 32718
Re: LCD (20x4 made in China)
Hi u01pei,
the address is correct:
pi@raspberrypi ~/domoticz/scripts/lcd $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --
30 ...
the address is correct:
pi@raspberrypi ~/domoticz/scripts/lcd $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --
30 ...
- Monday 15 June 2015 23:01
- Forum: Show your projects
- Topic: LCD (20x4 made in China)
- Replies: 69
- Views: 32718
Re: LCD (20x4 made in China)
Hi u01pei,
thnx for the reply,
did everything but got only a nice blue screen,
from lcd_display import lcd
my_lcd = lcd()
my_lcd.display_string("Hello World", 1)
my_lcd.display_string("YwRobot LCM1602 IIC V1 display", 2)
my_lcd.display_string("aan de Raspberry Pi", 3)
my_lcd.display_string("via ...
thnx for the reply,
did everything but got only a nice blue screen,
from lcd_display import lcd
my_lcd = lcd()
my_lcd.display_string("Hello World", 1)
my_lcd.display_string("YwRobot LCM1602 IIC V1 display", 2)
my_lcd.display_string("aan de Raspberry Pi", 3)
my_lcd.display_string("via ...
- Monday 15 June 2015 15:51
- Forum: Show your projects
- Topic: LCD (20x4 made in China)
- Replies: 69
- Views: 32718
Re: LCD (20x4 made in China)
Hi there,
I'm a noob in this, can you tell me how to install the scripts on my Pi?
Regards, Marius
I'm a noob in this, can you tell me how to install the scripts on my Pi?
Regards, Marius