Skip to content

Instantly share code, notes, and snippets.

********************************************
INFO[0000] [ansible-runner]: Started job, view full logs with `oc exec <cmd_here>` ([job=518718] [resource=MyService/example-myservice"] [namespace=default])
********************************************
INFO[0001] [playbook task]: Gathering Facts ([job=518718] [resource=MyService/example-myservice"] [namespace=default])
********************************************
INFO[0002] [playbook debug]: msg=An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse output. An attempt at easier to parse ou
INFO[0065] ansible-runner exited successfully component=runner job=1860341561668317814 name=example-myservice namespace=default
INFO[0127] [playbook task]: Gathering Facts component=logging_event_handler event_type=playbook_on_task_start gvk="my.example.com/v1alpha1, Kind=MyService" job=5341574423233785024 name=example-myservice namespace=default
INFO[0128] [playbook debug]: msg=This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse. This output is visually difficult to parse
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <RTL.h>
#include <MKL25Z4.h>
#include "TFT_LCD.h"
#include "font.h"
#include "tasks.h"
#include "MMA8451.h"
void Init_PWM(void)
{
SIM->SCGC5 |= SIM_SCGC5_PORTB_MASK | SIM_SCGC5_PORTD_MASK;
SIM->SCGC6 |= SIM_SCGC6_TPM0_MASK | SIM_SCGC6_TPM2_MASK;
SIM->SOPT2 |= SIM_SOPT2_TPMSRC(1);
PORTB->PCR[18] = (0 | PORT_PCR_MUX(3)); /* TPM2_CH0 enable on PTB18 */
PORTB->PCR[19] = (0 | PORT_PCR_MUX(3)); /* TPM2_CH1 enable on PTB19 */
PORTD->PCR[1] = (0 | PORT_PCR_MUX(4)); /* TPM0_CH1 enable on PTD1 */