Skip to content

Instantly share code, notes, and snippets.

View microside-mx's full-sized avatar

MICROSIDE TECHNOLOGY microside-mx

View GitHub Profile
@microside-mx
microside-mx / 19-MPLAB-Ultrasonico-4550.c
Last active September 12, 2023 20:45
Prácticas MPLABX
/*
* File: main.c
* Author: Microside Technology
*
* Created on 27 de noviembre de 2020, 02:08 AM
*/
// CONFIG1L
#pragma config PLLDIV = 1 // PLL Prescaler Selection bits (No prescale (4 MHz oscillator input drives PLL directly))
#pragma config CPUDIV = OSC1_PLL2 // System Clock Postscaler Selection bits ([Primary Oscillator Src: /1][96 MHz PLL Src: /2])
#pragma config USBDIV = 1 // USB Clock Selection bit (used in Full-Speed USB mode only; UCFG:FSEN = 1) (USB clock source comes directly from the primary oscillator block with no postscale)
@microside-mx
microside-mx / 19-MPLAB-Ultrasonico.c
Last active September 12, 2023 20:45
Prácticas MPLABX
/**
Generated Main Source File
Company:
Microchip Technology Inc.
File Name:
main.c
Summary:
@microside-mx
microside-mx / 17-MPLAB-TemperaturaLM35-4550.c
Last active September 12, 2023 20:27
Prácticas MPLABX
/*
* File: main.c
* Author: Microside Technology
*
* Created on 27 de noviembre de 2020, 02:03 AM
*/
// CONFIG1L
#pragma config PLLDIV = 1 // PLL Prescaler Selection bits (No prescale (4 MHz oscillator input drives PLL directly))
#pragma config CPUDIV = OSC1_PLL2 // System Clock Postscaler Selection bits ([Primary Oscillator Src: /1][96 MHz PLL Src: /2])
#pragma config USBDIV = 1 // USB Clock Selection bit (used in Full-Speed USB mode only; UCFG:FSEN = 1) (USB clock source comes directly from the primary oscillator block with no postscale)
@microside-mx
microside-mx / 17-MPLAB-TemperaturaLM35.c
Last active September 12, 2023 20:27
Prácticas MPLABX
/**
Generated Main Source File
Company:
Microchip Technology Inc.
File Name:
main.c
Summary:
@microside-mx
microside-mx / 16-MPLAB-Servomotor4550.c
Last active April 12, 2024 19:01
Prácticas MPLABX
/*
* File: main.c
* Author: Microside Technology
*
* Created on 27 de noviembre de 2020, 02:01 AM
*/
// CONFIG1L
#pragma config PLLDIV = 1 // PLL Prescaler Selection bits (Divide by 5 (20 MHz oscillator input))
#pragma config CPUDIV = OSC1_PLL2 // System Clock Postscaler Selection bits ([Primary Oscillator Src: /1][96 MHz PLL Src: /2])
#pragma config USBDIV = 1 // USB Clock Selection bit (used in Full-Speed USB mode only; UCFG:FSEN = 1) (USB clock source comes directly from the primary oscillator block with no postscale)
@microside-mx
microside-mx / 16-MPLAB-Servomotor.c
Last active April 12, 2024 19:01
Prácticas MPLABX
/**
Generated Main Source File
Company:
Microchip Technology Inc.
File Name:
main.c
Summary:
@microside-mx
microside-mx / 15-MPLAB-Servomotor-4550.c
Last active November 27, 2024 04:26
Prácticas MPLABX
/*
* File: main.c
* Author: Microside Technology
*
* Created on 27 de noviembre de 2020, 01:58 AM
*/
// CONFIG1L
#pragma config PLLDIV = 1 // PLL Prescaler Selection bits (Divide by 5 (20 MHz oscillator input))
#pragma config CPUDIV = OSC1_PLL2// System Clock Postscaler Selection bits ([Primary Oscillator Src: /1][96 MHz PLL Src: /2])
#pragma config USBDIV = 1 // USB Clock Selection bit (used in Full-Speed USB mode only; UCFG:FSEN = 1) (USB clock source comes directly from the primary oscillator block with no postscale)
@microside-mx
microside-mx / 15-MPLAB-ServoMotor.c
Last active November 27, 2024 04:26
Prácticas MPLABX
/**
Generated Main Source File
Company:
Microchip Technology Inc.
File Name:
main.c
Summary:
@microside-mx
microside-mx / 14-MPLAB-motorinfrarrojo-4550.c
Last active September 12, 2023 20:19
Prácticas MPLABX
/*
* File: main.c
* Author: Microside Technology
*
* Created on 27 de noviembre de 2020, 01:54 AM
*/
// CONFIG1L
#pragma config PLLDIV = 1 // PLL Prescaler Selection bits (No prescale (4 MHz oscillator input drives PLL directly))
#pragma config CPUDIV = OSC1_PLL2 // System Clock Postscaler Selection bits ([Primary Oscillator Src: /1][96 MHz PLL Src: /2])
@microside-mx
microside-mx / 14-MPLAB-MotorInfrarojo.c
Last active September 12, 2023 20:19
Prácticas MPLABX
/**
Generated Main Source File
Company:
Microchip Technology Inc.
File Name:
main.c
Summary: