Search found 14 matches

by Colonel Moutarde
10 Jun 2011 11:13
Forum: mikroC PRO for PIC General
Topic: Working with unsupported PIC
Replies: 2
Views: 1136

Re: Working with unsupported PIC

I reply to myself: RTFS (Read the F..ing Specs)

Future Product !

But the question is still valid for other PICs ;-)
by Colonel Moutarde
10 Jun 2011 11:07
Forum: mikroC PRO for PIC General
Topic: Working with unsupported PIC
Replies: 2
Views: 1136

Working with unsupported PIC

Hello,

I want to use an unsupported PIC with my EasyPIC6 board and MikroC (12F1501 or 16F1503). What are the chances to cheat the PICflash to complete programmation (by giving another PIC reference for example) ?

Thank you for your replies
by Colonel Moutarde
07 Jun 2011 14:10
Forum: mikroBasic PRO for PIC General
Topic: Servo problem. Unable to make one of the given example works
Replies: 1
Views: 920

Servo problem. Unable to make one of the given example works

Hello, I have to do a very simple task, position a single servo according to a variable. I tested most of the Xor codes, and many more found on this forum and somewhere else, but I am unable to even move my servo. Most of them give me compilation errors (unknown rlncf ASM instruction for example) or...
by Colonel Moutarde
07 Apr 2011 15:51
Forum: mikroBasic General
Topic: Dealing with very large numbers
Replies: 1
Views: 1631

Dealing with very large numbers

Hello, I have to make calculations with a number of up to 16 digits ! I have a starting number given at a certain time/date and I have to add a constant each second. I have made a elapsed time calculation with a realtime clock and the easy thing is just to multiply the elapsed time by the constant, ...
by Colonel Moutarde
30 Jan 2010 08:14
Forum: mikroBasic General
Topic: Can I share one EEPROM with 2 PIC ?
Replies: 5
Views: 2219

I forgot the EEPROM solution, it doesn't work even with Mikroe examples. I must have a hardware problem and I dont have time to solve it, my project must be up and running very soon, even if it is a little bit dirty. So I came back to the good old bus of data and addresses between the PICs. Takes pi...
by Colonel Moutarde
29 Jan 2010 11:54
Forum: mikroBasic General
Topic: Can I share one EEPROM with 2 PIC ?
Replies: 5
Views: 2219

Still in test period. But I have a big problem. Every time I try to access the EEPROM, the program crash ! I tried several speed, several cabling, but even if I load the Mikroe example, boom, crash !

Any idea ?
by Colonel Moutarde
22 Jan 2010 14:39
Forum: mikroBasic General
Topic: Can I share one EEPROM with 2 PIC ?
Replies: 5
Views: 2219

Can I share one EEPROM with 2 PIC ?

I have a quite large program with very specific timings and I need a complex user interface, I am looking to split my program in two different PIC, one for the UI and one for the processes. As I have to permanently store data outside the PIC with a 24C08 EEPROM, I was thinking of accessing the same ...
by Colonel Moutarde
21 Jan 2010 13:03
Forum: mikroBasic General
Topic: Best way to connect two PIC the sturdy way
Replies: 2
Views: 1745

Finally, I will use SN75176 interface between my main and remote board and as I only have one pair of boards, not use RS485 protocol but standard Usart_Write / Read. But I still have a big problem to get the data from the remote side. When I trig to send the 4 bytes I need, the remote send ok but th...
by Colonel Moutarde
20 Jan 2010 18:05
Forum: mikroBasic General
Topic: Best way to connect two PIC the sturdy way
Replies: 2
Views: 1745

Best way to connect two PIC the sturdy way

Hello, I am trying to connect 2 PIC (870 and 877) together thru a long line. I prefer to use RS485 because of sturdyness of the interface. Now the problem is that the remote PIC must send me 6 bytes on request. I am using a simple Port output to get the data, the remote PIC send it back but I cannot...
by Colonel Moutarde
21 May 2009 22:13
Forum: mikroBasic General
Topic: Problem reading a string on Uart
Replies: 1
Views: 1247

Problem reading a string on Uart

Hello I am trying to read and extract particular bytes from a 21 bytes string continously sent from a device. Each string starts with ASCII "S" and end with a LF. I need to extract bytes 10 thru 15 and put them in 6 variables. I tried to detect character S and then make a for...next loop to fill a v...
by Colonel Moutarde
02 Oct 2007 21:51
Forum: mikroBasic Wish List
Topic: Windows and the Others...
Replies: 9
Views: 12265

+1 for MB on Mac OSX
by Colonel Moutarde
02 Oct 2007 21:46
Forum: mikroBasic General
Topic: Problem with I2C EEPROM
Replies: 3
Views: 1870

OK I answer to myself: RTFM

I was trying to write to I2C bus with LEDs on Port C on ! Turning the switch off made it work fine. (so I haven't tried the debugger anymore).
by Colonel Moutarde
02 Oct 2007 21:35
Forum: mikroBasic General
Topic: Problem with I2C EEPROM
Replies: 3
Views: 1870

OK I answer to myself: RTFM

I was trying to write to I2C bus with LEDs on Port C on ! Turning the switch off made it work fine. (so I haven't tried the debugger anymore).
by Colonel Moutarde
01 Oct 2007 13:19
Forum: mikroBasic General
Topic: Problem with I2C EEPROM
Replies: 3
Views: 1870

Problem with I2C EEPROM

Hello, I am trying to write and read to an EEPROM (from the EasyPIC4 module on Port C, pull up). Running Microbasic for PIC 5.0.0.2. EEPROM module is 24C04A To start, I wrote the standard example trisb=0 portb=0 I2C_Init(100000) I2C_Start I2C_Wr($A2) I2C_(2) I2C_Wr(255) 'data I want to write for tes...

Go to advanced search