Since PWM is a little fraught with gotchas, this is mostly a message to future me-
(Note to self, rtfm - https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf)
| pin | a0 | a3 | 
|---|---|---|
| GPIO19 | PWM0_CHAN3 | |
| GPIO18 | PWM0_CHAN2 | 
| ub_get_the_mug = lambda n:"Get the " + "get the " * n + "mug " * n + "mug" | 
Since PWM is a little fraught with gotchas, this is mostly a message to future me-
(Note to self, rtfm - https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf)
| pin | a0 | a3 | 
|---|---|---|
| GPIO19 | PWM0_CHAN3 | |
| GPIO18 | PWM0_CHAN2 | 
| #!/bin/sh | |
| # This script based on linux-vm-tools for Ubuntu 22.02. | |
| # Thanks to https://github.com/Hinara/linux-vm-tools/ to script | |
| # This script is for Ubuntu 22.04 Jammy Jellyfish to download and install XRDP+XORGXRDP via | |
| # source. | |
| # | |
| # Major thanks to: http://c-nergy.be/blog/?p=11336 for the tips. | |
| # | 
| #include <stddef.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <assert.h> | |
| char ** token_split (char * in_str, const char * delim, int * token_count); | |
| /* | |
| * alloc_str function allocates memory and copy substring | 
| #!/bin/bash | |
| # You need to install "certifi" pip package at first | |
| import certifi | |
| import pip | |
| # packages to be installed | |
| packages = ["pandas","matplotlib"] | |
| cmd = ["install", "-U", "--cert", certifi.where()] + packages | 
| import sys, os | |
| import shutil | |
| import math | |
| import itertools | |
| from copy import deepcopy | |
| # 0 1 2 3 4 5 6 | |
| LIST_elmt = [" ("," (start ",") (end ",") "," (layer ",") ","))"] | |
| #LIST_elmt = [" (gr_line (start 131.571908 182.314571) (end 112.874456 120.68499) (angle 90) (layer Dwgs.User) (width 0.1))"] | |
| #LIST_elmt = [" (segment (start 118.7 106.7) (end 119.4 106.7) (width 0.25) (layer B.Cu) (net 0))"] |