Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

#BB9

Автор: Ralph S Bacon

Загружено: 2022-05-27

Просмотров: 18023

Описание:

Organised code is so much easier to read, debug and maintain.
► PCBWay $5 for 10 pieces https://www.pcbway.com

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - Martin Fowler (https://en.wikiquote.org/wiki/Martin_...)

► Summary
I was taught early on in my computer programming career that beautiful code indicates a tidy, organised mind too - and probably leads to code that works first time, is easily understood by others and can be maintained in the years to come.

In this video we look at how we turn "prototyping code" into a well-structured, modular program by separating the various components of the program into separate files.

All the code in the video is available in the GitHub for you to play around with:
https://github.com/RalphBacon/BB9-Cod...

► Hardware used in demo project:
LCD screen INCL I2C backpack (ships from UK): https://www.banggood.com/custlink/Dmm...
Separate Backpack (for bare LCD screen): https://www.banggood.com/custlink/KmD...
DS18b20 temperature sensor (TEN pieces): https://s.click.aliexpress.com/e/_AYM61d
DS18b20 Waterproof version (1m cable): https://s.click.aliexpress.com/e/_9fiBAb
Pictures and more info in my GitHub: https://github.com/RalphBacon/BB9-Cod...

► Next Steps
The next video (BB10 in this series) progresses this theme and will cover namespaces - which goes some way towards getting rid of true globals. Grr!

Stay tuned!

► Useful or interesting video? You can support my channel:
Buy Me A Coffee! https://www.buymeacoffee.com/ralphbacon

► List of all my videos (Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphB...

► If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite (and other μControllers) journey

My channel, GitHub and blog are here:
------------------------------------------------------------------
•    / ralphbacon  
• https://ralphbacon.blog
• https://github.com/RalphBacon
• https://buymeacoffee.com/ralphbacon
------------------------------------------------------------------

#BB9

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

#BB10 Namespaces & Macros for Arduino (and other) microcontrollers

#BB10 Namespaces & Macros for Arduino (and other) microcontrollers

#BB7 Pass by Value or Reference - What's the difference?

#BB7 Pass by Value or Reference - What's the difference?

Я в опасности

Я в опасности

#224 🛑 ПЕРЕСТАНЬТЕ использовать Serial.print в коде Arduino! ЭТО лучше.

#224 🛑 ПЕРЕСТАНЬТЕ использовать Serial.print в коде Arduino! ЭТО лучше.

#BB8 C++ Range-based Loops✅for Arduino (and other μcontrollers) - so easy!

#BB8 C++ Range-based Loops✅for Arduino (and other μcontrollers) - so easy!

STOP writing BUTTON code (do THIS instead).

STOP writing BUTTON code (do THIS instead).

#BB5 Moving your Arduino to a multi-tasking State Machine - Easy Intro

#BB5 Moving your Arduino to a multi-tasking State Machine - Easy Intro

#151 - ESP32 Passing Values 💾 Between Tasks - Deep Dive (2 Easy Ways)

#151 - ESP32 Passing Values 💾 Between Tasks - Deep Dive (2 Easy Ways)

Если вы не изучите sprintf(), ваш код позже возненавидит вас

Если вы не изучите sprintf(), ваш код позже возненавидит вас

STM32 после Arduino: с чего начать (Есть субтитры)

STM32 после Arduino: с чего начать (Есть субтитры)

#195 Reverse Polarity Protection using a MOSFET -  for Arduinos and more!

#195 Reverse Polarity Protection using a MOSFET - for Arduinos and more!

Debugging the Arduino Uno or Nano! (No extra hardware needed!)

Debugging the Arduino Uno or Nano! (No extra hardware needed!)

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Timer Interrupt ISR + Examples | Arduino101 | Set Registers & Modes

Timer Interrupt ISR + Examples | Arduino101 | Set Registers & Modes

How to Organize Code

How to Organize Code

#186 Measure Current with an Arduino  - Digital or Analog? Easy!

#186 Measure Current with an Arduino - Digital or Analog? Easy!

Debugging Arduino firmware with print statements // ifdef, header files, trace

Debugging Arduino firmware with print statements // ifdef, header files, trace

Как я с нуля сделал ноутбук на базе C64 — Portable 64 (эмуляция)

Как я с нуля сделал ноутбук на базе C64 — Portable 64 (эмуляция)

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

#BB11 Create an Arduino Library😨 - A Real World Example (Easy)

#BB11 Create an Arduino Library😨 - A Real World Example (Easy)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com