Pages: 1 ... 27 28 [29] 30 31 ... 43   Go Down
Author Topic: Arduino on Xcode Project — Official Thread  (Read 111216 times)
0 Members and 1 Guest are viewing this topic.
New Jersey
Offline Offline
Sr. Member
****
Karma: 1
Posts: 481
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can I have two or more Arduinos plugged into my Mac and then try to upload to one of them with Xcode?  If so, how to I pick the port?  I just tried a little test:  I plugged my Mega into my Mac and nothing else.  I uploaded my sketch successfully to it.  Then I plugged in a Leonardo and tried to upload my sketch again.  The first time I tried the upload build failed. The second the upload build just hung and did nothing until I cancelled it after a few minutes.
Logged

France
Offline Offline
God Member
*****
Karma: 9
Posts: 611
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

embedXcode uses the first serial port found.

You need to unplug and plug the boards it you want to upload to a specific board.
Logged


New Jersey
Offline Offline
Sr. Member
****
Karma: 1
Posts: 481
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

embedXcode uses the first serial port found.

You need to unplug and plug the boards it you want to upload to a specific board.

Thanks.  Do you have any plans to add some user control to picking USB ports? 
Logged

France
Offline Offline
God Member
*****
Karma: 9
Posts: 611
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for your feed-back. I'll consider adding this feature.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am getting errors with the OneWire Library in the OneWire.h and OneWire.cpp it says oneWire was not defined. If you have any progress please let me know yagoax at gmail dot com.
Logged

France
Offline Offline
God Member
*****
Karma: 9
Posts: 611
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

By default, OneWire is excluded as it raises issues with different boards.

To include it again, edit the makefile and the line

Code:
EXCLUDE_LIBS = Firmata WiFi Esplora OneWire Robot_Control Robot_Control/utility Robot_Motor

For more information, please refer to Chapter 4 Build and Upload the Project, Section 2 Manage the Libraries for Compilation, Sub-section Exclude Libraries of the User Manual.
Logged


Northern Calif
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi:
I followed the instructions on the You-Tube video and created a new project (Quite Nice Actually).  Then per the instructions I ran the build and the build failed with the following error:
Error, No Application Found Stop


What did I do wrong?

Thanks,
freddie


* Xcode Error.jpg (122.74 KB, 1393x482 - viewed 18 times.)
« Last Edit: August 10, 2013, 03:12:24 pm by sbfreddie » Logged

France
Offline Offline
God Member
*****
Karma: 9
Posts: 611
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Is Arduino installed in the /Applications folder?

See chapter 1 Install the Template section 2 Install the IDEs of the boards of the User Manual.
Logged


Northern Calif
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi:
I Cannot read the Users Manual because I do not possess an iPad or any other iXxx device, and iTunes will not download to my Mac.  And Yes Arduino is installed (In the usual place: Applications folder)and I have been using the Arduino IDE for about 6 months with no problems.
Unfortunately the Arduino IDE is not very useful for larger projects.

Thanks,
Freddie
Logged

France
Offline Offline
God Member
*****
Karma: 9
Posts: 611
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Please open a Terminal window and launch

Code:
ls /Applications/Arduino.app

The main sections of the User Manual are available at http://embedxcode.weebly.com/tutorial
Logged


Northern Calif
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My Arduino.app was not installed in the Applications Folder, it was inside another folder that is why Xcode could not find it.
So I just moved it to the Application Folder and its working alright for now, its time to try to make it do something now.

I did not find the tutorial on your Website to be very useful at all, it is confusing because it does not just come out and tell you the steps you need to take to get it working.
Perhaps putting in FAQ (Frequently Asked Questions) section would be helpful.

Thanks,
Freddie
Logged

Northern Calif
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Again:
Now I have started to build a Project I get 42 errors related to the following file inclusions:

#include <OneWire.h> //These are the libs for the One-Wire interface
#include <UTFT.h>  // We are going to use the Display instead of the monitor
#include <SD.h>  // We also need the SD card libraries for storing the data on the disk.
#include <Wire.h>
#include <SPI.h>  // not used here, but needed to prevent a RTClib compile error
#include <RTClib.h>

Xcode does not seem to have a problem finding these files, however whenever I try to use any of the features of these files I get an error.  These work fine in the Arduino IDE with no errors.
What is wrong now?
Thanks,
Freddie
Logged

New Jersey
Offline Offline
Sr. Member
****
Karma: 1
Posts: 481
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Again:
Now I have started to build a Project I get 42 errors related to the following file inclusions:

#include <OneWire.h> //These are the libs for the One-Wire interface
#include <UTFT.h>  // We are going to use the Display instead of the monitor
#include <SD.h>  // We also need the SD card libraries for storing the data on the disk.
#include <Wire.h>
#include <SPI.h>  // not used here, but needed to prevent a RTClib compile error
#include <RTClib.h>

Xcode does not seem to have a problem finding these files, however whenever I try to use any of the features of these files I get an error.  These work fine in the Arduino IDE with no errors.
What is wrong now?
Thanks,
Freddie

Go up a few posts (http://forum.arduino.cc/index.php?topic=49956.msg1340982#msg1340982) and it tells you how to take care of the onewire issue.  Not sure about the rest.  One issue I discovered for the user libraries (not app libraries) was that the directory name had to be the same as the library name; Arduino IDE didn't care but xcode does.
Logged

France
Offline Offline
God Member
*****
Karma: 9
Posts: 611
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Please find a new release of embedXcode

embedXcode • Aug 10, 2013 release 103 • First release of embedXcode+

I'm introducing a second and more elaborate version of embedXcode, embedXcode+, available soon.



A new release of the User Manual as e-book is also available.

I take this opportunity to announce that embedXcode is joining forces with Visual Micro, to share experience and release exciting new features.

As always,
• Website: http://embedxcode.weebly.com
• Download: http://embedxcode.weebly.com/download
• User guide: http://embedxcode.weebly.com/tutorial

Enjoy smiley
« Last Edit: August 13, 2013, 11:30:31 am by avenue33 » Logged


France
Offline Offline
God Member
*****
Karma: 9
Posts: 611
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Please find a new release of embedXcode.

embedXcode  • Sep 01, 2013 release 104 • Improved utilities
embedXcode+ • Sep 01, 2013 release 104 • Improved utilities and select among two connected boards


Release 104 inaugurates the new embedXcode+ edition with extended features.

In case two similar boards are connected, for example two Arduino boards, a windows lists the connections and ask to select one:


• To select the first port, press Enter, click on the button 1 or wait 10 seconds.
• To select the second port, click on the button 2.

This feature works with the Arduino boards and similar boards using a serial through USB connection.

As always,
• Website: http://embedxcode.weebly.com
• Download: http://embedxcode.weebly.com/download
• User guide: http://embedxcode.weebly.com/tutorial

Enjoy smiley
Logged


Pages: 1 ... 27 28 [29] 30 31 ... 43   Go Up
Jump to: