Pages: [1] 2 3 ... 10
 1 
 on: Today at 09:29:34 pm 
Started by nippit - Last post by nippit
one simple (also stupid question)

how can I send a space bar with

Keyboard.press

thanks

 2 
 on: Today at 09:27:58 pm 
Started by nippit - Last post by nippit
and a simple question

how do i send space (emulate space bar press)

with Keyboard.press on Leonardo?

I have now realized that are few keyboard libraries 

thanks

 3 
 on: Today at 09:22:35 pm 
Started by sitirohayu90 - Last post by sitirohayu90
i've used the build in coding in Arduino IDE of GSM(Send SMS)..
But it does not working. it just popup the "SMS Message Sender"..

is there have to change the coding?



// Include the GSM library
#include <GSM.h>

#define PINNUMBER ""

// initialize the library instance
GSM gsmAccess;
GSM_SMS sms;

void setup()
{
  // initialize serial communications and wait for port to open:
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
  }
 
  Serial.println("SMS Messages Sender");

  // connection state
  boolean notConnected = true;

  // Start GSM shield
  // If your SIM has PIN, pass it as a parameter of begin() in quotes
  while(notConnected)
  {
    if(gsmAccess.begin(PINNUMBER)==GSM_READY)
      notConnected = false;
    else
    {
      Serial.println("Not connected");
      delay(1000);
    }
  }
 
  Serial.println("GSM initialized");
}

void loop()
{

  Serial.print("Enter a mobile number: ");
  char remoteNum[20];  // telephone number to send sms
  readSerial(remoteNum);
  Serial.println(remoteNum);
   
  // sms text
  Serial.print("Now, enter SMS content: ");
  char txtMsg[200];
  readSerial(txtMsg);
  Serial.println("SENDING");
  Serial.println();
  Serial.println("Message:");
  Serial.println(txtMsg);
 
  // send the message
  sms.beginSMS(remoteNum);
  sms.print(txtMsg);
  sms.endSMS();
  Serial.println("\nCOMPLETE!\n");
}

/*
  Read input serial
 */
int readSerial(char result[])
{
  int i = 0;
  while(1)
  {
    while (Serial.available() > 0)
    {
      char inChar = Serial.read();
      if (inChar == '\n')
      {
        result = '\0';
        Serial.flush();
        return 0;
      }
      if(inChar!='\r')
      {
        result = inChar;
        i++;
      }
    }
  }
}

 4 
 on: Today at 09:21:23 pm 
Started by ppg677 - Last post by ppg677
Indeed the 3.3v pin measures at about 5v.  :-(

Can someone send me an eBay link to what I need?


 5 
 on: Today at 09:20:49 pm 
Started by EL-Costello - Last post by zoomkat
This really should go back in the exhibition area. As an arduino user I found nothing of value (plans, code, construction info, etc.) on your site (just info on sending $$$). It appears that this posting is nothing more than just a sales hustle for your venture.   

 6 
 on: Today at 09:19:44 pm 
Started by moelski - Last post by skorpi08
Was meinst du, oder die andeten hier, mit wenn der Bus ausfällt/tot ist?!

Bei mir ist es so, ich kann dem Busankoppler nur Spannung geben und schon kann man Licht schalten.
Wenn man A und B mit dem Raspberry verbindet, kann ich auch übers Handy Licht schalten.
Verstehe nicht was an dem Bus ausfallen sollte....
Es hat jeder Slave den gleichen Sketch drauf, abgesehen von der ID.
In dem Sketch ist nix anderes wie if Pin5==HIGH {Licht schalten}
Und der Status vom Pin5 wird einfach an Modbus weiter gegeben.

wenn aber nun der Trafo kaputt geht und es ist abends, dann hab ich kein Licht im ganzen Haus.
Wenn dann ein neuer Trafo reinkommt und die Busankoppler wieder mit Spannung versorgt werden, geht das Licht in jedem Zimmer aus, fals es an war. Deswegen war meine Frage in Skobys Thread, ob man hierfür das EEPROM vom Atmega 8 nehmen kann.
Dann kann der Zustand nämlich da gespeivhert werden.
Man kann aber auch in openHAB den Zustand speichern, muss man dann in void setup () die Werte aus openHAB abfragen.

 7 
 on: Today at 09:17:12 pm 
Started by pispisikopat - Last post by Billdefish
Have you added the UTFT library to the Arduino/libraries folder?  The library comes with examples to get you started.

http://henningkarlsen.com/electronics/library.php?id=52

Bill

 8 
 on: Today at 09:16:48 pm 
Started by xmarkx - Last post by TomGeorge
Hi, hygrometer measures moisture, hydrometer measure specific gravity.

What is the model of your hydrometer?

Tom..... smiley

 9 
 on: Today at 09:13:00 pm 
Started by kderna - Last post by drmpf
I get this problem all the time on Windows PC

I "fix" it by
  • un-plugging  the USB,
  • shutting down the IDE.
  • starting the IDE
  • plugging in again.
  • IDE sees it and I can program again.

sometimes I get away with just
  • leave USB plugged in,
  • shutting down the IDE.
  • starting the IDE
  • IDE sees it and I can program again.

Annoying ...

 10 
 on: Today at 09:12:51 pm 
Started by FSA-00 - Last post by FSA-00
Paul__B, I can just see the look of abhorrence on your face as you read my initial post. So I will attempt to work with a 4MHz crystal I may or may not have desoldered from a junk PCB. But it is 4MHz, which is 3x slower than the 16MHz the ISP is expecting. *Long exhale of air directed at my bangs*. Don't worry about timing issues, and this is kinda like a cover story for my FS-PDBMATC-328-00, also called the F-duino. It was formed by the fsct that my existing watch beeps on the hour, which gets super annoying after an hour. Motives, you know. I'm not the kind of person who takes stuff seriously.ur.

Pages: [1] 2 3 ... 10