element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Code Exchange
  • Technologies
  • More
Code Exchange
Blog
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Code Exchange to participate - click to join for free!

Blog

  • Tags
  • Subscribe by email
  • More
  • Cancel
  • modern C++ modules: convert existing example from .h to module

    Jan Cumps
    Jan Cumps
    I'm experimenting with new C++ constructs.  In  C++ callbacks and templates , I developed a generic object oriented callback handler using templates.In modern C++ modules I tried out an example that uses C++ modules...
    • 8 Feb 2025
  • modern C++ modules

    Jan Cumps
    Jan Cumps
    Since C++20, a new feature is available: modules. We're all used to C++ header and source files. And we all know their pros and cons. Because I'm reviewing a new C++ alternative for them, I'll focus on the cons of header files: header file...
    • 2 Dec 2024
  • sensible C++ coding convention - µOS naming standard

    Jan Cumps
    Jan Cumps
    When writing reusable code, I like to be consistent and use standards. For C++, there are many flavours out there. I've been looking around for guidance on writing modern C++ code, with templates. That's when I bumped into the µOS naming s...
    • 1 Sep 2024
  • C++ and STL : write code that is not dependent on the container type

    Jan Cumps
    Jan Cumps
    The C++ Standard Template Library has a decent set of containers.  std::array, std::vector, std::list, ... When you write a software function, it can be useful to handle whatever container the user wishes to use. In my little print function here...
    • 12 Aug 2024
  • GitHub Actions: my automated flow for Pico GPS project with Teseo (validate, deploy, publish docs)

    Jan Cumps
    Jan Cumps
    I wrote a series of articles about GitHub Actions. To: validate that no one submits code that breaks the build automate nightly deploy and update online documentation The flow below shows the current setup. Read it down to up, to understand wh...
    • 5 Aug 2024
  • CMake and Raspberry Pico: generate multiple firmware binaries for the same code base

    Jan Cumps
    Jan Cumps
    I have a Raspberry Pico GPS library project. It comes with several examples. And each example can communicate to the GPS over I2C or UART. Initially, it was a single-example project. I used a definition in the CMake config, that allow...
    • 5 Aug 2024
  • GitHub: automate Raspberry Pico project (nightly) release GitHub Actions

    Jan Cumps
    Jan Cumps
    In  GitHub: automate Raspberry Pico project build verification with GitHub Actions , I made GitHub build a project. I'm using an Action to check out branches and build them, upon a GitHub event. In this post, I crea...
    • 5 Aug 2024
  • GitHub: automate Raspberry Pico project build verification with GitHub Actions

    Jan Cumps
    Jan Cumps
    You can Make GitHub build your project. I'm using an Action to check out branches and build them, when a pull request is submitted. I adapted an existing flow from the Raspberry organisation. Here's what it does check out the branch that's the ...
    • 15 Jul 2024
  • GitHub: automate project documentation with DoxyGen, and publish online after pushing commits

    Jan Cumps
    Jan Cumps
    The title says it all. You can generate project documentation from the comments in the source files. I'm using doxygen for that. What I tried today (and succeeded in), is to make a GitHub action that: kicks off a process on one of its...
    • 15 Jul 2024
  • Good Quality ASCII Table with no Adverts or Malware!

    shabaz
    shabaz
    This web page simply contains the ASCII table in a few formats. Mobile View Printable Version (Monochrome) To print, click here to open the monochrome ASCII table in a web browser window, then print in Landscape format. I have tested ...
    • 8 Jul 2024
  • Codor Python Compiler Promises to Achieve C/C++ Performance And Speeds

    Catwell
    Catwell
    Codon, a Python-based compiler, allows Python scripts to achieve similar performance levels as the C/C++ programming language. (Image Credit: Cg_prodigy/pixabay) At some point, new or experienced computer programmers have learned Python and realized...
    • 12 Apr 2023
  • Creating two BLE "Feather Dusters", i.e. Particulate Matter (PM) sensor nodes using Mbed OS 6.15, and MIT App Inventor for the hub with added data-logging to the cloud.

    BigG
    BigG
    Introduction This blog follows on from my previous blog, which explained how to get started with the ARM Mbed OS 6.15 BLE API and how to develop a simple Button-LED BLE app. I’m now taking it a step further and will be explaining how to develo...
    • 28 Feb 2022
  • Creating a Button-LED BLE Application on a PAN1780 (nRF52840) development board using ARM Mbed OS v6.15

    BigG
    BigG
    Introduction Arm, the owners Mbed OS, has been in the news recently following the decision to withdraw from the Nvidia acquisition. Whilst this had nothing to do with Mbed OS itself, it did somehow renew my interest in this free open source Internet...
    • 21 Feb 2022
  • Sorting in the C++20 release

    Jan Cumps
    Jan Cumps
    I don't get over-excited about programming languages and their evolution easily.But it happened this time. C++ is introducing a new dialect. The 2020 standard. There are a number of things that are useful but I wouldn't consider them gro...
    • 13 Oct 2020
  • Back to College: Networking

    phoenixcomm
    phoenixcomm
    At this point, I will digress and turn the clock back, life was good we had the Internet, Ethernet and Microsoft could not spell or supported either. At that time for Ethernet cable, you had your choice of Thick (10Base-5), Thin (10Base-2), and or CA...
    • 7 Oct 2018
  • Back to College: C Language Operators

    phoenixcomm
    phoenixcomm
    I will not stutter. C is one of the most powerful computer languages ever written. In this blog, I will show what an operator is.An operator in its simplest form would be: a added to b. In this case, the operator is added to. But you also have an ass...
    • 30 Sep 2018
  • Brute force Python solution for Queens Chess Problem

    urkraft
    urkraft
    Don't know if anyone is interested in this, but since i just finished my quick and dirty brute force solution of the Queens Chess Problem using Python i thought that maybe i should publish it to see what kind of feedback i will get: #!/usr/bin/p...
    • 13 May 2018
  • Need help coding

    rmiltenberger
    rmiltenberger
    I have 4 sparkfun lummenati 3x3 bParts,  I having a problem finding a code, i have them daisy chained would like to makea top hat bandany help would be greatly appreciatedthanks bob
    • 16 Mar 2018
  • Python 2.7 code profiling package

    balearicdynamics
    balearicdynamics
    IntroductionPython is one of the most used programming languages adopted as the high-level application development environment to develop in the embedded environment. This is due to its portability and how it is easy to program, together with its wid...
    • 23 Apr 2016
  • Simple Drawing Application with C#

    oneleggedredcow
    oneleggedredcow
    www.youtube.com/watch In this post, we are going to create a program that allows you to draw on a canvas. It will be somewhat similar to the classic program paint, except that it will have way less features. This program will track when you pres...
    • 19 Dec 2015
  • Coding a math quiz in C#

    oneleggedredcow
    oneleggedredcow
    In this post, we are going to create a program that displays multiplication flash cards. The user will be presented with a problem, and given a place to input their answer. A correct answer will move to the next question, whereas a wrong answer will ...
    • 24 Nov 2015
  • XXICC (21st Century Co-design) release 0.0k

    johnbeetem
    johnbeetem
    In celebration of European π Day 22/7/2014, here is the new release 0.0k of XXICC. Release 0.0k adds Flavia, described in this 'blog post: Flavia: the Free Logic Array. XXICC (21st Century Co-design) is a not-for-profit research project...
    • 22 Jul 2014
  • XXICC (21st Century Co-design) release 0.0j

    johnbeetem
    johnbeetem
    In celebration of USA Pi day 3/14/2014, here is the new release 0.0j of XXICC. XXICC (21st Century Co-design) is a not-for-profit research project which attempts to bring digital hardware/software co-design into the 21st Century using an improve...
    • 14 Mar 2014
  • Stephen Hawking releases first app that teaches the basics of cosmology

    Catwell
    Catwell
    Hawking’s Snapshots of the Universe app. (via iTunes)Stephen Hawking is arguably one of, if not ‘the’, finest mind of our time – at least since Albert Einstein when it comes to theoretical physics. While the Professor has written several books, inclu...
    • 2 Jan 2014
  • Code.org initiates Hour of Code campaign to promote the computer sciences in schools

    Catwell
    Catwell
    According to a report of future projections from the Bureau of Labor Statistics, coding and programming jobs will increase by 22% by the year 2020. This is due in part by the ever-expanding mobile networks, which will in turn lead to software compani...
    • 19 Dec 2013
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube