Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Sort By

USER REQUESTS

Enrique Noé Arias
enoearias

posted on 2013/03/14 03:54:36 PM CET

Communication > USB

Need USB bulk type transfer in mikroc

i like to use mpusbapi.dll provided by microchip, i want to use bulk type transfer, not only interrupt. how can i do it?
do i only modify the USBdsc.c ?
does anyone have some example?

i can comunicate using mpusbapi.dll pc side, but the problem is when i connect the microcontroller to the pc it's detected as HID, i have to do a lot of to overwrithe the microchip driver.

thank you.

Willy Lievens
willy.zon

posted on 2013/02/01 10:42:30 AM CET

Communication > USB

Menu Tools USART Terminal for USB-communication

Hello,

I work with EasyPIC-7/MikroC PRO for PIC/16F887, a wonderful platform!
My PC has no tradional RS232 COM-port (DSUB-9).
So, I want to use the USB UART (at the left side of the 4x7-segment display)
My PC recognice the USB-connection with the build-in USART Terminal (on USB/COM-3).
There is communication... but the program doesn't work. I receive only strange characters.
The USART-terminal settings for this are:
Bits per second: 9600, Data Bits: 8, Parity: None, Stop bits: 1, Flow control: None.
What's my problem?

Can you help me?
Willy

void newline()
{
UART1_Write(13); // Carriage Return
UART1_Write(10); // Line Feed
}

void main()
{
unsigned char MyError, Temp;

ANSEL = ANSELH = 0x00;
C1ON_bit = C2ON_bit = 0; // Disable Comparators
TRISB = 0b00000010;
UART1_Init(9600);
Delay_ms(100);
UART1_Write_Text("Testing UART! ");
newline();

do
{
UART1_Write_Text("Type in a Number: ");
while(!UART1_Data_Ready());
Temp = UART1_Read();
newline();
UART1_Write_Text("You entered: ");
UART1_Write(Temp);
newline();
} while(1);
} // End main()

vatsal soni
vatsal.soni.30

posted on 2012/08/24 04:13:55 AM CEST

Communication > USB

android interface pic32

Hi guys, I'm looking for source code to interface pic32mx795f512h in USB host mode with android phone.
please help

thank you

Roy Dickens
felix

posted on 2012/04/13 02:23:04 PM CEST

Communication > USB

HID Comm Port

Does anyone know how to write a HID descriptor for a PIC18F2550 in MikroBasic Pro so it shows up as a Comm port on my PC?

Thanks
Roy

hans sommerauer
sommi

posted on 2011/10/25 04:03:10 PM CEST

Communication > USB

low speed usb

i need low speed hid library for pic18 j50 types