connect

Connect ADC with PIC16F877

Connect ADC with PIC16F877

ADC (Analog to Digital Converter) module is available with a number of PIC MCU modules. ADC is an electronic circuit that converts continuous signals to discrete digital numbers. ADC Library provides you a comfortable work with the module. Library Routines ADC_Init ADC_Get_Sample ADC_Read ADC_Init Prototype void ADC_Init(); Returns Nothing. Description This routine initializes PIC’s internal

Connect ADC with PIC16F877 Read More »

Connect CAN Protocol with PIC

The mikroC PRO for PIC provides a library (driver) for working with the CAN module. The CAN is a very robust protocol that has error detection and signalization, self–checking and fault confinement. Faulty CAN data and remote frames are re-transmitted automatically, similar to the Ethernet. Data transfer rates depends on the distance. For example, 1

Connect CAN Protocol with PIC Read More »

Connect CAN SPI with PIC Controller

Connect CAN-SPI with PIC Controller

The SPI module is available with a number of the PIC compliant MCUs. The mikroC PRO for PIC provides a library (driver) for working with mikroElektronika’s CANSPI Add-on boards (with MCP2515 or MCP2510) via SPI interface. The CAN is a very robust protocol that has error detection and signalization, self–checking and fault confinement. Faulty CAN

Connect CAN-SPI with PIC Controller Read More »

Connect I²C with PIC

Connect I²C with PIC

The I²C full master MSSP module is available with a number of PIC MCU models. mikroC PRO for PIC provides library which supports the master I²C mode.   Important : Some MCUs have multiple I²C modules. In order to use the desired I²C library routine, simply change the number 1 in the prototype with the

Connect I²C with PIC Read More »

Connect USB HID with PIC18F4450 Code

Connect USB HID with PIC18F4450 Code

Universal Serial Bus (USB) provides a serial bus standard for connecting a wide variety of devices, including computers, cell phones, game consoles, PDA’s, etc. USB Library contains HID routines that support HID class devices, and also the generic routines that can be used with vendor specified drivers. USB HID Class The HID class consists primarily

Connect USB HID with PIC18F4450 Code Read More »