IO interface with Arduino over Ethernet

More
6 years 3 months ago - 6 years 3 months ago #173598 by BosniaCNC
Mr. Marius Liebenberg,
when you persistently claim that there is no error in your source code why not upload a hex file here and thus justify your claims?
There is Xloader and loading is easy!
Believe that there are us here on the forum who did not grow up on a wooden branch, so we know something about the Arduino IDE.
Maybe it's a pleasure to watch someone sweat in unsuccessful attempts to compile your "sinless code"?
It is a pity that there is no way to prevent the publication of bad and non-functional code.
The moderators should prevent that in some way, because that damages the reputation and seriousness of the forum!
Goodbye
Last edit: 6 years 3 months ago by BosniaCNC.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #173609 by gerritv
Just out of curiosity I copied Marius' original source code to a .ino file, installed the Encoder library from stoffgren and compiled. Tried on .9 and .13 IDE. Also with Uno and ESP8266. Zero errors.

So Marius would apprear to be correct in his suggestion that you have something wrong with your IDE setup, which is entirely possible given the mess that that IDE is. And maybe there are issues with Arduino-nightly which quite frankly is the last thing I would be using to do anything.

Marius specifically made it clear in his last post that he has not looked at the Mega port, it is not his code.
The following user(s) said Thank You: Mike_Eitel

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago - 6 years 3 months ago #175267 by BosniaCNC
@gerritv: Marius specifically made it clear in his last post that he has not looked at the Mega port, it is not his code.
udpioMega.py:
#!/usr/bin/python
#udpioMEGA.py
# HAL userspace component to interface with Arduino board
# Copyright (C) 2015 Marius Liebenberg <marius@bluearccnc.com>
# Mods to use Mega2560 Robi Akerley-mcKee <kf6pqz@gmail.com>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
udpioMEGA.ino:
void decodeRx(char* rxbuffer, int buflen)
{

if(rxbuffer[0] == 'D') {
STEPPORT = atoi(rxbuffer[STEPPORTDATA]);
DIRPORT = atoi(rxbuffer[DIRPORTDATA]);
XTRPORT = atoi(rxbuffer[XTRPORTDATA]);
for(int i=0; i< PWMCOUNT; i++) {
analogWrite(pwmpinmap,atoi(rxbuffer[PWMDATA + i]));
}
return;

STDLib.h :
extern int atoi(const char *__s) __ATTR_PURE__;

ERROR: char * cannot be translated into atoi (const char * ....)


forum.arduino.cc/index.php?topic=474206.0

I hope I was clear?
Best regards!
Last edit: 6 years 3 months ago by BosniaCNC.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #175270 by gerritv
You just don't get it do you? Someone used Marius' code and ported it to the Mega. They chose to keep Marius' original copyright notice in the code, as they should. That does NOT make the port his code. In fact the line right below that indicates the name of the person who ported the code, i.e. Robi.

But hey, keep on going up this path, you could of course instead figure out what is wrong with the code and fix it yourself.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #175272 by BosniaCNC
@gerritv:
But hey, keep on going up this path, you could of course instead figure out what is wrong with the code and fix it yourself.
- / -
Rest assured that I will fix it and make it functional.No need to doubt!

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #201102 by nickom44
Hi all, I'm experimenting with Arduino ethernet shield but I'm getting errors regarding the gwibber.microblog.can import. has anybody experienced this and come across any workarounds?

Thanks
Nick

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum