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

first | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 last
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()

Albert Rudorfer
alipc

posted on 2013/01/09 10:03:07 AM CET

Communication

Example Code for buffered UART using interrupts

Please upload example code for the ATMEGA or ATXMEGA using the internal UARTs in a buffered mode with interrupts. Thanks

Diana Hanania
diana

posted on 2012/12/18 04:18:24 PM CET

Communication

DAQ labview usb and 18f25550 pic communication in mikroc

This project is on this site but in microPascal. If you please, I would like to have it in mikroC

Gini Lim
guestn6600

posted on 2012/12/01 04:36:44 AM CET

Communication

Example Code for Cosm or Pachube please. mikroc pic18f

Hi There,

I am starting out with this new compiler(mikroc pro) and looking to make some device that uploads to cosm/pachube.
I need a simple example to get started, maybe one analog input and one output.
I have tried looking in google but, not much luck with mikroc example.

Cheers.

first | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 last