Back to Browse

Coding Challenge #117: Seven-Segment Display

146.3K views
Oct 15, 2018
18:10

In this coding challenge, I create a Seven-Segment Display with the p5.js library. Code: https://thecodingtrain.com/challenges/117-seven-segment-display πŸ•ΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/O25p3JYxT πŸŽ₯ Previous video: https://youtu.be/--6eyLO78CY?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: 🌐 Seven-segment display on Wikipedia: https://en.wikipedia.org/wiki/Seven-segment_display 🐦 #thisdot7segment: https://twitter.com/hashtag/thisdot7segment Videos: πŸŽ₯ What's The Longest Word You Can Write With Seven-Segment Displays?: https://www.youtube.com/watch?v=zp4BMR88260 πŸ”΄ Coding Train Live 156: https://youtu.be/b8RwO1k9DXc?t=7442s Related Coding Challenges: πŸš‚ #119 Binary to Decimal Conversion: https://youtu.be/meGcdIoTYgw πŸš‚ #120 Bit Shifting: https://youtu.be/oCBlwsY8sR4 Timestamps: 0:00 Welcome! 1:53 Let's talk about the seven segments 2:49 Let's start coding! 8:02 Explaining the idea of bit shifting and bitwise AND operation 10:36 Implementing the hexadecimal encodings for the display 12:44 Making a function to get the correct color value for a segment 15:21 Displaying all the numbers one by one 16:45 Seven-Segment Display! 17:44 Thank you for watching! Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound πŸš‚ Website: http://thecodingtrain.com/ πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box πŸ’‘ GitHub: https://github.com/CodingTrain πŸ’¬ Discord: https://thecodingtrain.com/discord πŸ’– Membership: http://youtube.com/thecodingtrain/join πŸ›’ Store: https://standard.tv/codingtrain πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/ πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA πŸ”— p5.js: https://p5js.org πŸ”— p5.js Web Editor: https://editor.p5js.org/ πŸ”— Processing: https://processing.org πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new #bitwiseoperations #bitwiseand #javascript #p5js

Download

1 formats

Video Formats

360pmp443.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Coding Challenge #117: Seven-Segment Display | NatokHD