16x2 LCD showing IP address

Moderators: mdrjr, odroid

16x2 LCD showing IP address

Unread postby 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.
zeustm
 
Posts: 1
Joined: Mon Apr 23, 2018 1:30 am
languages_spoken: english
ODROIDs: C2

Re: 16x2 LCD showing IP address

Unread postby 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
mad_ady
 
Posts: 4018
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: 16x2 LCD showing IP address

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

Can you display system time with this example?
https://wiki.odroid.com/accessory/displ ... ystem_time
User avatar
odroid
Site Admin
 
Posts: 28257
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID


Return to General Chat

Who is online

Users browsing this forum: ivanovic and 2 guests