Search found 7 matches

by Miko
29 Jun 2021 22:19
Forum: mikroC PRO for PIC General
Topic: Linked list
Replies: 2
Views: 688

Re: Linked list

Hi, I tried but it's the same. I changed NODE to NODE_ and it has no effect I notice that compiler doesn't like this : NODE_* head = &(NODE_) {.lcd = 0, .next = NULL, .prev = NULL, .value = 0 } it returns Syntax Error: ';' expected, but '{' found test.c and 'internal error' This code works on gcc (D...
by Miko
27 Jun 2021 11:14
Forum: mikroC PRO for PIC General
Topic: Linked list
Replies: 2
Views: 688

Linked list

Hi , What's wrong with this code ? 201 307 Illegal typecast '' '' 201 315 Invalid expression 201 320 Cannot assign '' to ' 201 317 Operator '&' is not applicable to these operands ' typedef struct node { char lcd; unsigned int value; struct node *next; struct node *prev; } NODE; void main(void) { NO...
by Miko
20 Jun 2021 13:17
Forum: mikroC PRO for PIC General
Topic: initialize structure
Replies: 1
Views: 520

Re: initialize structure

I tryed again and it works. #include <built_in.h> struct menu{ unsigned int function; unsigned int eeAddress; }; void params( struct menu value) { value.function++; //stuff to increment or decrement value etc.. //..... //pseudocode // saveToEEprom ( value.function, value.eeAddress); } void main(void...
by Miko
20 Jun 2021 01:17
Forum: mikroC PRO for PIC General
Topic: initialize structure
Replies: 1
Views: 520

initialize structure

Hi I cant initialize this array structure . It's working normally on desktop compiled with gcc. I tryed several times like this: struct options { unsigned int function; unsigned int eeAddress; }; int main() { //menu init struct options menu [5]; menu [0] = (struct options){ 0,50}; //<-- invalid expr...
by Miko
10 Nov 2014 19:53
Forum: Product Announcements
Topic: YOU VOTE - WE DO IT: mikromedia shields
Replies: 29
Views: 271700

Re: YOU VOTE - WE DO IT: mikromedia shields

Hi , We would like a new board about 4-20mA where you can choose the power supply source I mean a cheap version of this : http://uk.rs-online.com/web/p/current-loop-calibrators/1825456/ without display , case etc the 4-20mA generator is enough but you have to switch power supply source If you follow...
by Miko
07 Nov 2014 23:59
Forum: Development Boards
Topic: 4-20 mA T Click and 4-20 mA R Click
Replies: 0
Views: 1522

4-20 mA T Click and 4-20 mA R Click

Hi , Can I build an tx/rx 4-20mA in order to : - Tx 4-20mA to PLC - Tx 4-20mA to I/P converter Valve example : http://www.sullivanandsons.com/Files/Product/Type_32/Instrumentation__Controls_62/IP_Transducers_80/Rosemount_3311_IP_Transducer_566.asp -Rx 4-20 mA from Instrument Process example : http:/...
by Miko
07 Nov 2014 23:46
Forum: Development Boards
Topic: 4-20 mA T Click and 4-20 mA R Click
Replies: 0
Views: 1634

4-20 mA T Click and 4-20 mA R Click

Hi , Can I use that boards to make an 4-20mA active/passive transmitter/receiver? I would like to build an instrument in order to : - transmit 4-20 mA to PLC - transmit 4-20 mA to I/P converter Valve example (http://www.sullivanandsons.com/Files/Product/Type_32/Instrumentation__Controls_62/IP_Transd...

Go to advanced search