Show Posts
Pages: 1 [2] 3 4 ... 21
16  Using Arduino / Programming Questions / Re: having some error in load image from SD card into arduino HTML on: July 04, 2014, 08:20:04 pm
If you're usng an ds card, why not put the html on the card? There are lots of examples using html and images.
17  Community / Bar Sport / Re: Apple swift on: July 03, 2014, 09:03:39 pm
I see a lot of rookie mistakes here on the forum like
Code:
if (x = 1)
C allows for this without throwing any errors. In swift this is illegal and will error. Neat change.
18  Using Arduino / Programming Questions / Re: How to make your web server secure with login and password ? on: July 03, 2014, 08:47:01 am
Here's the idea on how to implement a user login with cookies
http://forum.arduino.cc/index.php?topic=238913.msg1752847#msg1752847

If you looking for SSL, not sure if the arduino can handle it.
19  Using Arduino / Project Guidance / Re: 4 brush-less DC motors with integrated drive electronics using an Arduino Uno on: July 02, 2014, 10:53:30 am
Pin 8 there is not PWM so you won't be able to control motor speed.
The signal from the PWM tells  the mosfet/transistor to give the motor varying voltage depending on the speed.
20  Using Arduino / Programming Questions / Re: IF statements execute regardless of conditions? on: July 02, 2014, 10:35:06 am
Code:
(holding = 0)
(holding =1)


All wrong. It's not illegal to use in C/C++ but wrong. Use conditional equals (==).
21  Using Arduino / Programming Questions / Re: send data from sensors to mysql db on: July 01, 2014, 07:57:35 am
First thing, is the ip to a web server or  mysql database?
22  Using Arduino / Programming Questions / Re: Reading data from .txt file in PC on: June 30, 2014, 09:03:06 am
I think you can use visual basic to do this. You can also use Processing, processing.org to do this as well.
23  Community / Bar Sport / Re: Apple swift on: June 25, 2014, 11:05:21 am
I'm skimming through the use manual now. It's simple and powerful. It takes a little getting use to even for me since I know objective C.
24  Community / Bar Sport / Re: Apple swift on: June 24, 2014, 07:20:36 am
yeah, it's iOS, OS X only which is a shame. It should be platform independent.
25  Community / Bar Sport / Apple swift on: June 23, 2014, 10:27:12 pm
I'm reading up on apple's new C language, Swift. It can return from a function multiple values with any combination of data types.

That is all. I'm sold!
26  Using Arduino / Programming Questions / Re: Is a class of any value if there can only be one instance of it? on: June 23, 2014, 11:35:52 am
, how Apple setup their structure. They have an App delegate, which is a singleton that is the hub for all the other classes.

Apple devices are a tad more complex than an Arduino Uno ???

...R

Design patterns care not the device.
27  Using Arduino / Programming Questions / Re: HOW TO OVERRIDE??? on: June 23, 2014, 11:33:02 am
Are you using an UNO as the ISP? you might need a capacitor.
Quote
An Arduino board serving as an ISP to program the ATmega on another Arduino board. On the Arduino Uno, you'll need to connect a 10 uF capacitor between reset and ground (after uploading the ArduinoISP sketch). Note that you need access to the reset pin on the target board, which isn't available on NG or older boards.
28  Using Arduino / Programming Questions / Re: Is a class of any value if there can only be one instance of it? on: June 23, 2014, 08:58:58 am

@mistergreen & @PeterH, Both your usage methods are reasons not to use a singleton.


It works for me and keep class communication simple and easy soooo, I like it. I learned it from using objective-C, how Apple setup their structure. They have an App delegate, which is a singleton that is the hub for all the other classes.
29  Using Arduino / Programming Questions / Re: Is a class of any value if there can only be one instance of it? on: June 22, 2014, 06:17:20 pm
A singleton is good for storing data that you need to share with other classes or instances.

I use it as a delegate for all the other classes.
30  Using Arduino / Programming Questions / Re: Is C++ essential for arduino? on: June 22, 2014, 09:35:59 am
Start writing and don't worry about it. You don't need to know c++. As long as you know how to program, it's fine.

If you run into any issues, just ask the forum.
Pages: 1 [2] 3 4 ... 21