• Blog Posts
  • Discussions (3)
  • Groups
  • Photos
  • Photo Albums
  • Videos

Andy S's Discussions

Arduino MEGA boolean?

Started Apr 16 0 Replies

Hi everyone,been banging my head against the wall a few days now.i have a small project, where i use softtimers library, and the issue i have is this:there are a few tasks defined, a few variables,…Continue

String to char*

Started this discussion. Last reply by Jonathan Dean Dec 19, 2012. 2 Replies

Sorry for the stupid question, but i'm just looking for another set of eyes, perhaps someone can tell me how can i get this going...String mystring="";void setup(){Serial.begin(9600);}void…Continue

 

Andy S's Page

Latest Activity

Andy S posted a discussion

Arduino MEGA boolean?

Hi everyone,been banging my head against the wall a few days now.i have a small project, where i use softtimers library, and the issue i have is this:there are a few tasks defined, a few variables, some of them boolean type.boolean runn=false;the symptoms are:1. when one routine executes inside a "void setup", i do a Serial.print(runn), i get 0 printed on the laptop com port - that is as expected.2. when i get the routine executed inside the task, and i do a Serial.print(runn), i get 13 printed…See More
Apr 16
Jonathan Dean replied to Andy S's discussion String to char*
"I keep reading in the Arduino reference that you can use "Constant String" + analogRead(), myString += 123, and similar constructions, but whenever I do I get random-length garbage.  Using the String constructor to concatenate a…"
Dec 19, 2012
Jonathan Dean replied to Andy S's discussion String to char*
"First, if you try to append a non-string value to a string it'll get weird.  Instead of Char arrays don't offer all the flexibility that a String object does, and they're sometimes kind of hard to work with, but they're a…"
Dec 19, 2012
Andy S posted a discussion

String to char*

Sorry for the stupid question, but i'm just looking for another set of eyes, perhaps someone can tell me how can i get this going...String mystring="";void setup(){Serial.begin(9600);}void loop(){mystring="The ADC value is: " + analogRead(A15);Serial.println(mystring);sendlog(mystring);delay(10000);}void sendlog(const char* message){//do whatever to send this to logging SD...}while compiling, i get the following: error: cannot convert 'String' to 'const char*' for argument '1' to 'void…See More
Dec 16, 2012
Andy S replied to chris M's discussion GSM - SIM900 Dropping Connection
"Micky, This is interesting topic. Coincidentally i was researching and playing with the same thing as well a few months ago, but could not find a solution for this... my issue was as follows: SIM900 arduino shield was connected to MEGA…"
Dec 11, 2012
Andy S is now a member of GarageLab (arduino, electronics, robotics, hacking)
Dec 11, 2012

Profile Information

Comment Wall

  • No comments yet!

You need to be a member of GarageLab (arduino, electronics, robotics, hacking) to add comments!

Join GarageLab (arduino, electronics, robotics, hacking)

 
 
 

Latest Activity

GarageLab posted blog posts
12 hours ago
Abraham de Villiers is now a member of GarageLab (arduino, electronics, robotics, hacking)
12 hours ago
GarageLab posted a blog post

3D printed humanoid robot goes open source

If you’ve ever dreamed of manufacturing your own legion of mechanical minions, a group of robotics…See More
yesterday
Marion Hale posted a status
"Status"
Monday
Marion Hale posted a status
"Status"
Saturday
Marion Hale posted a status
"Status"
Saturday
Profile IconMarion Hale and Pratap Kumar Panigrahi joined GarageLab (arduino, electronics, robotics, hacking)
Friday
GarageLab posted blog posts
Thursday
GarageLab posted blog posts
Jul 23
Profile Icongan bensie, Philip Malmstedt and Rodney Leinberger joined GarageLab (arduino, electronics, robotics, hacking)
Jul 22
GarageLab posted blog posts
Jul 21
Profile Iconjolian ahmed, Abdalla, Raul Patterson and 2 more joined GarageLab (arduino, electronics, robotics, hacking)
Jul 21
GarageLab posted blog posts
Jul 17
GarageLab posted blog posts
Jul 15
Ilyass Renswoude joined Sergio Imperador's group
Thumbnail

Robotics

Let's share ideas about building robots.See More
Jul 14
Profile IconShein Wah, Liu Chin Ho and Suresh Babu joined GarageLab (arduino, electronics, robotics, hacking)
Jul 14
NELU NASTASOIU posted photos
Jul 11
NELU NASTASOIU updated their profile
Jul 11
GarageLab posted blog posts
Jul 11
Profile IconTezel Celebi and Lucas Silva joined GarageLab (arduino, electronics, robotics, hacking)
Jul 11

© 2014   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service