16x2 LCD showing IP address

Post Reply
zeustm
Posts: 1
Joined: Mon Apr 23, 2018 1:30 am
languages_spoken: english
ODROIDs: C2
Contact:

16x2 LCD showing IP address

Unread post by zeustm » Sat Jul 14, 2018 4:53 pm

I wonder if there are a phyton script to show Odroid IP address on the 16x2 LCD display. Do anybody have this one in the forum?

Regards.

User avatar
mad_ady
Posts: 5235
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: 16x2 LCD showing IP address

Unread post by mad_ady » Sat Jul 14, 2018 5:00 pm

I don't know how you send data to the lcd, but this is how you can get your ip address:

Code: Select all

adrianp@bellatrix:~$ ip addr show eth0 | grep inet | head -1 | awk '{print $2}' | cut -d '/' -f 1
192.168.1.14

User avatar
odroid
Site Admin
Posts: 29678
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: 16x2 LCD showing IP address

Unread post by odroid » Sat Jul 14, 2018 10:40 pm

Can you display system time with this example?
https://wiki.odroid.com/accessory/displ ... ystem_time

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest