Go to advanced search

by JulianG9
Thu Nov 29, 2018 1:00 pm
Forum: General discussion
Topic: Arduino how TTL Converter
Replies: 11
Views: 786

Re: Arduino how TTL Converter

Thanks! I already knew the existence of those adapters but I needed a quick exit for the moment.
by JulianG9
Thu Nov 29, 2018 4:00 am
Forum: General discussion
Topic: Arduino how TTL Converter
Replies: 11
Views: 786

Arduino how TTL Converter

Hello, i need a TTL Converter because i need communicated a raspberry with PC. Can i use arduino how TTL converter? I read that it is posible Removing ATMEL Chip, but my problem is the voltaje level of arduino (5V) and the raspberry (3.3V).

Can you help me?
by JulianG9
Wed Oct 17, 2018 7:58 pm
Forum: C/C++
Topic: [C + Assembly] Error compile
Replies: 8
Views: 1747

Re: [C + Assembly] Error compile

One way to tackle this is as follows: 1) Write a C function that takes whatever parameters your assembler code will be using and returns whatever result your assembler code will be returning. For example: int myFunc (int x, inty) { return x + y: } 2) Now compile that C function into an assembler li...
by JulianG9
Wed Oct 17, 2018 2:25 pm
Forum: C/C++
Topic: [C + Assembly] Error compile
Replies: 8
Views: 1747

Re: [C + Assembly] Error compile

Now the problems that it throws me are: gcc main.o suma.o -Ttext=0 -mfloat-abi=hard -nostartfiles -g -o suma.elf /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000 /usr/bin/ld: suma.elf: Not enough room for program headers, try linking with -N /usr/bin/ld: final link faile...
by JulianG9
Wed Oct 17, 2018 1:57 pm
Forum: C/C++
Topic: [C + Assembly] Error compile
Replies: 8
Views: 1747

Re: [C + Assembly] Error compile

I found this post but I could not solve anything aggregating those flags
by JulianG9
Wed Oct 17, 2018 1:25 pm
Forum: C/C++
Topic: [C + Assembly] Error compile
Replies: 8
Views: 1747

[C + Assembly] Error compile

Hello, this is my first post. I need help, I am trying to compile a simple C program with an Assembly function. This is the code of C: #include<stdio.h> extern int suma(int a, int b); int main(void) { int a = 71; int b = 29; int c; c = suma(a,b); return 0; } This is the assembly code: .text .arm .gl...

Go to advanced search