Search found 60 matches

by Lord Lucan
30 Aug 2017 11:42
Forum: mikroC PRO for PIC General
Topic: How to fix this code part2 with uart communication
Replies: 1
Views: 1310

Re: How to fix this code part2 with uart communication

Hi Johanmo, you haven't described the physical connection between the two devices, for RS232 to function correctly you MUST have a ground (0V) connection between the two devices in addition to the Rx/Tx pair. It is also good practice for your receiver to send an acknowledgement signal back to the tr...
by Lord Lucan
07 Dec 2016 14:30
Forum: mikroC PRO for PIC General
Topic: SPI, problems transmiting
Replies: 6
Views: 2239

Re: SPI, problems transmiting

Kiyoshi, With SPI you cannot combine read and write commands in the same frame. I can see that you are using LATB.F5 to switch the Chip Select (CS) or 'slave select" to frame the communication commands, you need to refer to the ADC data sheet and look at the SPI timing diagrams. SPI is very particul...
by Lord Lucan
07 Dec 2016 13:45
Forum: mikroC PRO for PIC General
Topic: ...Just saying...
Replies: 9
Views: 4654

Re: ...Just saying...

Lance, I'm sure mE have got the message and, as they have assured you already, the compilers are in a constant state of development and there is a major update planned. All the same, some of us have been coding with mE compilers for many years and have used them to code some amazing and successful p...
by Lord Lucan
07 Dec 2016 12:58
Forum: mikroC PRO for PIC General
Topic: UART1_Data_Ready() with pic 16f628a
Replies: 2
Views: 1426

Re: UART1_Data_Ready() with pic 16f628a

It's also worth remembering that RS232 communication requires a common ground (GND) between the transmitter and receiver.
by Lord Lucan
23 Nov 2016 10:59
Forum: Development Boards
Topic: Brushless Click specification
Replies: 1
Views: 1521

Brushless Click specification

Have I missed something or is the new Brushless Click really expensive? Given that good quality programmable 30A ESC's are available for less than half the price, can anyone explain why this 2A device should cost $39?

LL
by Lord Lucan
14 Jun 2015 17:55
Forum: mikroC PRO for PIC General
Topic: PC_USB_VB
Replies: 1
Views: 914

Re: PC_USB_VB

This is the Helm HID terminal yes? There isn't anything wrong with it - remember it's just a template.

You need to write your own VB code to service each USB event - as a template it does nothing.

ST.
by Lord Lucan
14 Jun 2015 17:07
Forum: mikroC PRO for PIC General
Topic: Sending a Linefeed or Carriage Return over HID_Write
Replies: 1
Views: 915

Sending a Linefeed or Carriage Return over HID_Write

How to?

I've tried a number of permutations including sending "\r\n" but all my HID_Write contents get concatenated in the HID terminal.

So how do I send linefeed commands using the HID_Write command?

ST.
by Lord Lucan
09 Dec 2014 15:59
Forum: Development Boards
Topic: Time for Click Board parametric search...
Replies: 1
Views: 1157

Time for Click Board parametric search...

Well done ME team on giving us such a fantastic variety of I/O devices. I think we're now up to 115 Click Boards but it's now getting a bit cluttered at the web shop; is there any chance that you could implement a parametric search engine so that we can view the Click devices by type, supply voltage...
by Lord Lucan
22 Aug 2014 06:46
Forum: mikroC PRO for PIC General
Topic: how much money?
Replies: 4
Views: 1984

Re: how much money?

As a developer you should already have a pricing structure for this. When I worked freelance I had set prices for hardware and software and then an ascending price list for Intellectual Property rights, for MCU software this was based on the size of the .HEX output file at US$1000/kb or US$2000/kb d...
by Lord Lucan
22 Aug 2014 04:52
Forum: Development Boards
Topic: RFid Reader Board !!!
Replies: 2
Views: 1347

Re: RFid Reader Board !!!

Read the description in the comments at the top of the .c file: "The code demonstrates using two external interrupts to read data sent by EM4095 chip (clock - RDY/CLK; data - OUT)". The further down look at the comments in the Interrupt Service Routine. The board should be connected to PORT B and th...
by Lord Lucan
30 Jul 2014 08:17
Forum: Development Boards
Topic: Serial GLCD 240x128 Adapter Board
Replies: 1
Views: 1242

Re: Serial GLCD 240x128 Adapter Board

Apparently it will; from the RA6963 spec...

"The RA6963 is a dot matrix LCD Controller which fully
compatible with T6963C."

ST.
by Lord Lucan
30 Jul 2014 05:02
Forum: Development Boards
Topic: Serial GLCD 240x128 Adapter Board
Replies: 1
Views: 1242

Serial GLCD 240x128 Adapter Board

I'm having real trouble sourcing a 240x128 display with T6963C controller, I can find displays with the RA6963 controller and the interface looks the same as the Toshiba.

So, will the Serial GLCD 240x128 Adapter Board work with the RA6963 controller?

ST
by Lord Lucan
30 Jul 2014 03:26
Forum: mikroC PRO for PIC General
Topic: Libstock interrupt examples for 18F45K22
Replies: 4
Views: 1832

Re: Libstock interrupt examples for 18F45K22

Ah! Okay...

One more thing, the example sets the interrupt to activate on a rising edge but the datasheet indicates that RB0 - RB2 have internal pull-ups - is that going to work?

I'm coding at the moment and I haven't had the chance to test on hardware yet.

ST.
by Lord Lucan
29 Jul 2014 03:27
Forum: mikroC PRO for PIC General
Topic: Libstock interrupt examples for 18F45K22
Replies: 4
Views: 1832

Libstock interrupt examples for 18F45K22

In the example the interrupt routine reads as follows: void interrupt(){ // Interrupt rutine if(INT0F_bit == 1 ) { // Checks Receive Interrupt Flag bit flag = 1; // Set local interrupt flag INT0F_bit = 0; // Clear Interrupt Flag } } Shouldn't the INT0F statements be INT0IF? :wink: ST.

Go to advanced search