Arduino Forum Code Formatter

Pieter P
This is a simple tool that allows you to use syntax highlighting on forum.arduino.cc.
  1. Select the code in the Arduino IDE
  2. Right click the selection, and choose "Copy as HTML"
  3. Paste the code here
  4. Click "Copy formatted code" to copy the BB-formatted code
  5. Paste it on the Arduino forum

HTML code

BB-formatted code