I found this script to show date an time on this site: http://www.circuitbasics.com/raspberry-pi-i2c-lcd-set-up-and-programming/
Once is running how can be it stoped? I like the idea of showing the hour when teh raspi is on, but I need to stop it at some point and I do not know hoy to do that. This raspi is runnig some scripts with cron and don´t use a keyboard so, ctrl+c is not an option. Maybe an script?
This is the script to show date and time
This is the script to show date and time
import I2C_LCD_driver import time mylcd = I2C_LCD_driver.lcd()
while True: mylcd.lcd_display_string("Time: %s" %time.strftime("%H:%M:%S"), 1) mylcd.lcd_display_string("Date: %s" %time.strftime("%m/%d/%Y"), 2)
Thanks in advance
sudo killall python
.