Skip to content

Instantly share code, notes, and snippets.

View carlosdelfino's full-sized avatar
💭
De volta as origens, com o canal Basicão da Eletrônica

Carlos Delfino carlosdelfino

💭
De volta as origens, com o canal Basicão da Eletrônica
View GitHub Profile
@carlosdelfino
carlosdelfino / README.md
Created April 3, 2022 13:42 — forked from practicalli-johnny/website.css
Example `styles/website.css` styles that over-ride Gitbook's own styles, specifically for code blocks and image alingment (centred).

Um exemplo de css para usar no GitBook

Note: We do not recommend using SSH to access a UniFi OS Console.
If you must use SSH to access a UniFi OS Console, you will need to enable SSH first:
Go to unifi.ui.com or enter the console’s IP address into your web browser.
Navigate to the UniFi OS System Settings > Advanced menu.
Enable the SSH toggle and enter an SSH password directly below.
To SSH into your device, run the following command in your terminal of choice (PowerShell or PuTTY on Windows, Terminal on Linux/mac):
ssh root@<ip-address>
/*
* Verilog Simulator checker by predefined macro.
*
* Copyright (C) 2017 MURAMATSU Atsushi <[email protected]>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
@carlosdelfino
carlosdelfino / image_to_hex.py
Last active January 27, 2021 19:08
Um simples conversor de imagens para um txt de hexadecimal
from PIL import Image
import sys
import os
n = len(sys.argv)
print(n)
if (n < 2) or (n > 3):
print("Use: python convert.py imagefile.ext memfile.hex .\n")
exit(1)
@carlosdelfino
carlosdelfino / cloudSettings
Last active July 26, 2020 12:45
Configurações para Espaço de Trabalho no VSCode para o projeto IOVCC
{"lastUpload":"2020-07-26T12:45:38.456Z","extensionVersion":"v3.4.3"}
@carlosdelfino
carlosdelfino / CORDIC_Demo.asm
Last active July 22, 2020 13:53
Estudos de otimização trigonometria em C e ASM em especial Cortex-M e AVR
;CORDIC Degrees to SIN COS (As Used On Youtube http://www.youtube.com/watch?v=Ze4UnE8R4FM)
;20x2 OLED display
;Craig Webster (IXIBA)
;Melboune Australia
;Updated 18/2/2014
;Found this usefull?
;Bitcoin: 1LqDCrj8QAUjACnjRNEw8vq3T9p2R5k5RW
@carlosdelfino
carlosdelfino / Goertzel.c
Created July 22, 2020 02:44
Estudos sobre Goertzel
/* Goertzel Algorithm
* http://cms.edn.com/uploads/SourceCode/09banks.txt
*/
#define PI 3.141592653589793
#include <stdio.h>
#include <math.h>
#define FLOATING float
@carlosdelfino
carlosdelfino / QuartusVerilatorError.md
Created July 18, 2020 20:25 — forked from jbush001/QuartusVerilatorError.md
Things that Quartus flags as an error that Verilator does not

(Tested with Quartus 16 and Verilator 3.912)

  • Assign a value to an enumerated type without specifying width:

    typedef enum logic[3:0] {
       FOO = 0,
       BAR = 1
    } my_enum_t;
@carlosdelfino
carlosdelfino / msys2.md
Created July 15, 2020 22:57 — forked from Bluexin/msys2.md
Setting up qtcreator with msys2 on windub