You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository provides an example of bare-metal code for GPIO read/write operations. This example shows how to read an input pin value, changed by pressing a button, and how to set an output pin value, in order to turn an LED on and off.
This repository provides an example of bare-metal code for a Wake-Up from Sleep procedure. This example shows how to obtain less power consumption by putting the device in the Sleep mode and waking it up using the IOC, with a button controlling the input pin value.
This repository provides a bare-metal code example for using TMR0 in 8-bit Mode with clock output. A signal will be generated using TMR0 on the output RC2 pin.
The PIC18F47Q10 features two MSSP modules, which can be configured in SPI mode. In this demo, the SPI is configured as slave and it is used receive data from a master device. The repository contains the bare metal code for the application.
This repository provides a bare-metal code example for using TMR0 in 8-bit Mode with Periodic Interrupt. TMR0 will generate a compare interrupt every 100 ms, using LFINTOSC as clock source. A GPIO pin is toggled each time an interrupt occurs.
This repository provides a bare-metal code example for using TMR0 in 16-bit Mode with sleep operation. An interrupt will wake up the device every 10s and LED0 will light up for 100 ms and then the MCU will be put back to sleep.
This repository provides an example bare-metal code for using GPIO Interrupts and shows how to enable the Interrupt-on-Change (IOC). The IOC is configured to be triggered on the falling edge detected on the desired input pin.
The PIC18F47Q10 features two MSSP modules, which can be configured in SPI mode. In this demo, the SPI is configured as master and it is used to send data to a slave device, in data mode 3. The repository contains the bare metal code for the application.