16x2 LCD showing IP address

Moderators: odroid, mdrjr

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?

Posts: 1
Joined: Mon Apr 23, 2018 1:30 am
languages_spoken: english

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
User avatar
Posts: 4848
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
Site Admin
Posts: 29067
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English

Return to General Chat

Who is online

Users browsing this forum: No registered users and 1 guest