Hello all, i am programming a micro controller with C programming language. I have successfully implemented the MODBUS communication protocol...
Hello, it is possible to make some cind of inheritance with c using structs and unions? Best regards, BoSCHoW.
Hello, how do I reference a array to a structure, in a way when I change the value of that array I also affect the value of the structure, and...
Hello, I am programing in C and i have an array of chars a[20], and I have an int b. I am triing to copy the fourth element of the array a[3]...
Hi all, what happens if i try to put an union to array. I want to have two ways of programing the code one way is to use (bits) the other to...
Hi all, I am programing in C and i just came across a problem with the pointer to array. I am tring to do a system that has structures like...
Hi all, lets assume that i have a stream of bytes which are carrying messages. The size of the messages is every time different. The question...
Hello all, I am tring to implement TCP IP communication on the microcontroller, or should i say TCP IP is already implemented i am only about...
I have figured out something but a new problem emerged. I have a structure with various types and i want to know the size of each type in order to...
Hi all, i am tring to implement modbus communication protocol. Since socket programing have no sense of data type and they operate only with...
Hi all, it is possible to store structs in an array. Lets say that i have 5 structus. All 5 of m have different elements. And i need all their...
Hi, i am trying to make some sort of communication between two home made PLC's "micro controllers". Since my communication protocol will send...
Thanks for the advice, i come up with some solutions, which of this you think is the best choice ? 1.solution MainModule MM; // this is...
Hello, i everyone, i made some code to simulate the working of a shade motor and but it dosent work because an error appear which states An...
Hello friends, i have a new problem with another exercise. It states like this: Imagine that we have a program that requires the informations...
I didnt do it like you said, but like this: double *table_point(double *begin, int column, int row) { int ret_row=0;...
Hi all, i am trying to do a exercise, but i don't quite understand what exactly i need to do . . . the exercise states: Define a pointer to a...
I solved the problem but a new question is running through my mind lets say if i want to have lets say 5 PID regulators all i have to do is add a...
Well the whole code is here, so please check it out. Further more i will search on the forum and will try to find the answer for this error....
Hi all, i am having some problem with this part of the program written in C++ and i don't know what is wrong if you could please check it out . ....
Separate names with a comma.