France
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« on: June 29, 2011, 02:18:41 am » |
Hey guys, I am a beginner with Arduino, and to realize my project I decided to use the Seeeduino Film. I'm starting to code before I receive it, and I have a simple (I guess) question : Which Pin name/number should I use in my code for the Digital ports? Because on the "datasheet" (seeeeduino garden), Digital ports are called D4, D5*, D6*, D7, D9*, D10*. Then, if I want to use the 7th port as an output, should I write : pinMode(D7,OUTPUT) ? or pinMode(7,OUTPUT)? And what about the stars in D5*, D6*, D9*, D10*? Thanks for your help! 
|
|
|
|
|
Logged
|
|
|
|
|
Sweden
Offline
Jr. Member
Karma: 0
Posts: 77
Arduino System Go!
|
 |
« Reply #1 on: June 30, 2011, 06:54:17 am » |
I believe the Seeduino Film is a completely Arduino compatible clone, i.e. all pins are the same and named the same. If it works on your regular Arduino, the same program should work unmodified on the Film. Haven't tested, but that's the theory at least.
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #2 on: June 30, 2011, 07:57:54 am » |
Thank you Anders ! But the Seeeduino Film is the first Arduino compatible platform I use. Although I read that digital pins were "coded" by their number, like pinMode(7,OUTPUT) (and not pinMode(D7,OUTPUT)). It' ok then. I still don't understand the stars, like in D10* ? what does it mean? is it important? Thank you for your help 
|
|
|
|
« Last Edit: June 30, 2011, 08:03:03 am by Diminator »
|
Logged
|
|
|
|
|
Sweden
Offline
Jr. Member
Karma: 0
Posts: 77
Arduino System Go!
|
 |
« Reply #3 on: June 30, 2011, 08:02:34 am » |
I've no idea about the stars thing. I would just code away while waiting for the device and then try it out.
If it compiles in the Arduino IDE, there is a good chance it will run without a hitch when you get the device.
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #4 on: June 30, 2011, 08:07:03 am » |
Ok, thank you! I guess the topic is closed then. Although, I notice that arduino 002 doesn't know the Seeeduino film, and as a result I guess it has no reason to fail when it compiles.. Anyway I'll just try it out! 
|
|
|
|
|
Logged
|
|
|
|
|
Leighton Buzzard, UK
Offline
Edison Member
Karma: 11
Posts: 1049
|
 |
« Reply #5 on: June 30, 2011, 09:08:58 am » |
they look suspicially like the *PMW-able pins! 
|
|
|
|
|
Logged
|
there are only 10 types of people them that understands binary and them that doesn't
|
|
|
|
Western New York, USA
Offline
Faraday Member
Karma: 17
Posts: 3507
|
 |
« Reply #6 on: June 30, 2011, 02:09:00 pm » |
Because on the "datasheet" (seeeeduino garden), Digital ports are called D4, D5*, D6*, D7, D9*, D10*. In general you have a question about something you saw in a specific datasheet then a link to that datasheet along with a page reference would be appropriate. I couldn't find any such asterisks (stars) in the datasheet that I looked at.Don
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Leighton Buzzard, UK
Offline
Edison Member
Karma: 11
Posts: 1049
|
 |
« Reply #8 on: July 04, 2011, 07:02:16 am » |
they look suspicially like the *PMW-able pins! 
|
|
|
|
|
Logged
|
there are only 10 types of people them that understands binary and them that doesn't
|
|
|
|
France
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #9 on: July 04, 2011, 07:08:11 am » |
OK sorry I didn't see the answer. Thanks
|
|
|
|
|
Logged
|
|
|
|
|
Western New York, USA
Offline
Faraday Member
Karma: 17
Posts: 3507
|
 |
« Reply #10 on: July 04, 2011, 09:51:00 am » |
then a link to that datasheet along with a page reference would be appropriate. That's the datasheet that I used and I still didn't find them. A search for * yields just these two results "77.5mm *20.3mm *1.57(3.2 w/ battery connector)mm" so the ones you are looking at must be part of a graphic.
You have your answer but my recommendation about links and page references may help you and others in the future.Don
|
|
|
|
|
Logged
|
|
|
|
|
Leighton Buzzard, UK
Offline
Edison Member
Karma: 11
Posts: 1049
|
 |
« Reply #11 on: July 04, 2011, 10:24:09 am » |
the stars are tiny - but here they are...
|
|
|
|
|
Logged
|
there are only 10 types of people them that understands binary and them that doesn't
|
|
|
|
France
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #12 on: July 05, 2011, 02:12:50 am » |
You have your answer but my recommendation about links and page references may help you and others in the future.[/color]
Yes, sorry, I should have said it is on the scheme, p.4, "STRUCTURE AND PIN MAP". Anyway, as you said I have my answer. I'll be as precise as possible in future posts. the stars are tiny - but here they are... Bigger asterisks on my reference 
|
|
|
|
« Last Edit: July 05, 2011, 02:16:17 am by Diminator »
|
Logged
|
|
|
|
|
Leighton Buzzard, UK
Offline
Edison Member
Karma: 11
Posts: 1049
|
 |
« Reply #13 on: July 05, 2011, 02:33:49 am » |
bigger stars as mentioned!
|
|
|
|
|
Logged
|
there are only 10 types of people them that understands binary and them that doesn't
|
|
|
|
|