Show Posts
Pages: [1] 2
1  Using Arduino / Interfacing w/ Software on the Computer / Re: how does Serial.read work? on: June 21, 2013, 10:53:48 pm
Thank you AWOL
2  Using Arduino / Interfacing w/ Software on the Computer / Re: how does Serial.read work? on: June 21, 2013, 04:17:54 pm
Code:
void setup(){
  Serial.begin(9600);
}
void loop(){
 if(Serial.available()>0){
   value=Serial.read();
   total=total+value;
    Serial.print("value: ");
   Serial.println(value);
   Serial.print("Total: ");
   Serial.println(total);
   }
}

Where can find the Arduino source code for serial.read()?
I tried to find that in the Arduino 1.0.5 file. So do you know where i can find it?
3  Using Arduino / Interfacing w/ Software on the Computer / how does Serial.read work? on: June 21, 2013, 03:24:26 pm
hello everyone,
How does Serial.read() get its data from FIFO Buffer?  Can anyone give me any I ideas on how it works?
THanks
4  Using Arduino / Storage / Re: use SD card to increase the arduino flashmemory on: March 09, 2013, 12:47:58 am
qwertysimo, i know about the Mega 2560 and SD car uses flash memory..

You could run an interpreter language on the Arduino with the code on the SD card.
where can i find how to write an interpreter language on the Arduino, so i can execute the code on the sd card? 

5  Using Arduino / Storage / use SD card to increase the arduino flashmemory on: March 04, 2013, 01:54:33 am
Hello everyone
Is there a way to extend the arduino uno 32k flash memory with an SD card
maybe turn the code into hex file and save it on the sd card?

any ideas

thank you in advance
6  Using Arduino / Motors, Mechanics, and Power / arduino with DE10 Programmable Brushless ESC on: March 01, 2013, 12:23:25 am
Can anyone give me an idea how to use DE10 with the Arduino uno or mega?
Should i try the Servo class?

Specifications for DE10 ESC

Input power... 4-6 cell nicd,nimh/2SLipo,LiFe
BEC............ 6v 3A
max constant current .....80A
max peak current .........160A

7  Using Arduino / Programming Questions / Re: questions about Arduino.h code....Plz read on: January 13, 2013, 05:33:23 pm
Thanks for your answer
8  Using Arduino / Programming Questions / questions about Arduino.h code....Plz read on: January 13, 2013, 04:33:12 pm
Code:
#define digitalPinToPort(P) ( pgm_read_byte( digital_pin_to_port_PGM + (P) ) )
#define digitalPinToBitMask(P) ( pgm_read_byte( digital_pin_to_bit_mask_PGM + (P) ) )
#define digitalPinToTimer(P) ( pgm_read_byte( digital_pin_to_timer_PGM + (P) ) )
#define analogInPinToBit(P) (P)
#define portOutputRegister(P) ( (volatile uint8_t *)( pgm_read_word( port_to_output_PGM + (P))) )
#define portInputRegister(P) ( (volatile uint8_t *)( pgm_read_word( port_to_input_PGM + (P))) )
#define portModeRegister(P) ( (volatile uint8_t *)( pgm_read_word( port_to_mode_PGM + (P))) )
the code above is out of the Arduino.h and these lines of code is where i have the the question.
  1. What is the (P)  mean in the code above and what is it reference too? ex. digitalPinToPort(P)  does it mean port?
  2. what does  digitalPinToPort(P),digitalPinToBitMask(P),digitalPinToTimer(P),analogInPinToBit(P) (P), portOutputRegister(P), portInputRegister(P),  and portModeRegister(P) do?
9  Using Arduino / Programming Questions / Re: Trouble with the SoftwareSerail.h in Arduino 1.03 on: January 08, 2013, 11:14:35 am
I feel silly for asking this question now. Anyway Thank you for the help .
10  Using Arduino / Programming Questions / Re: Trouble with the SoftwareSerail.h in Arduino 1.03 on: January 08, 2013, 04:13:10 am
sorry there typo
i using Arduino 1.03 but keep forgetting to check that dang board setting..
I normally use the AVR studio 6.0
my excuse is I'm.... smiley-sleep
11  Using Arduino / Programming Questions / Re: Trouble with the SoftwareSerail.h in Arduino 1.03 on: January 08, 2013, 04:01:03 am
whoops.... I'm not use too using Arduino software.

12  Using Arduino / Programming Questions / Re: Trouble with the SoftwareSerail.h in Arduino 1.03 on: January 08, 2013, 03:40:18 am
yes, i get PCICR was not declared in this scope.
i also have trouble compiler with the Datalogger SD Example, if that help with anything
13  Using Arduino / Programming Questions / Re: Trouble with the SoftwareSerail.h in Arduino 1.03 on: January 08, 2013, 03:25:57 am
yes, i re installed it

still give me the some errors as previously
14  Using Arduino / Programming Questions / Re: Trouble with the SoftwareSerail.h in Arduino 1.03 on: January 08, 2013, 02:30:57 am
so i remove the softserial from the sketchRoot the only difference i got is that compiler basicly say it doesn't exist.
I'm more familiar with Avr Studio 6.0 and microsoft visual studio 2010.
 
I already know that I'm not the only one that has this problem. their forums online that showed the same porblem, but didn't help. vis
it was with NewSoftSerial.h.... There was no answer to the question.

the only way i got the SoftwareSerial.h to work is to use my visual box, but it is slow. So i really don't won't to use the visual box.

15  Using Arduino / Programming Questions / Re: Trouble with the SoftwareSerail.h in Arduino 1.03 on: January 08, 2013, 01:43:25 am
Where is the SketchRoot?
can you give a screen shot what you mean?
Pages: [1] 2