Show Posts
Pages: 1 ... 26 27 [28] 29 30 ... 121
406  International / Nederlands / Re: Hoe library gebruiken on: November 13, 2013, 01:58:01 pm
Ik ken er niks van maar als ik zo een beetje lees denk ik dat Nexactrl een dim bare versie is van Home Easy.
De methodes in de 2 zijn zeer gelijklopend.
Ik zou je dus aanraden om eerst Home Easy te proberen en pas als je wilt dimmen naar Nexactrl te gaan.
Home Easy heeft meer uitleg op de playground. http://playground.arduino.cc/Code/HomeEasy

Met vriendelijke groet
Jantje

PS Ik vind het goed dat je een github issue hebt gemaakt.  smiley-grin
407  Community / Website and Forum / Re: broken/missing playground links on: November 13, 2013, 01:03:37 pm
you have a strange link
I think it should be http://playground.arduino.cc/Main/Histogram
on your link I get a https security warning.

EDIT: I cant click on the view, history,edit and print links
EDIT AGAIN: I can just above the text but not on.

Best regards
Jantje
408  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: November 13, 2013, 11:18:16 am
sunsina
First some questions:
Why do you need  VMWareFusion?
What arduino board do you use?

A remark:
Arduino IDE 1.5.4r2 is not supported with the plugin. You will run in troubles as soon as you try to use libraries.

My thoughts
RXTX is the problem in your case. RXTX will shortly be replaced by something better by the Arduino Core team and the plugin will follow(1). RXTX is known to give problems and I'm not sure how it will behave in a VMWareFusion Session.
I need to know your board as I need to know which code is executed that does RXTX calls.
But from my understanding you would be better of running the eclipse plugin natively (not in a VMWareFusion)

Best regards
Jantje
(1)Note that the Arduino library specification 1.5 which makes  Arduino IDE 1.5.beta and 1.5.4 beta incompatible with the plugin us currently under discussion. The current version can not be supported by the plugin and I hope Arduino IDE 1.5.5 will go back go the previous version. I'm hoping for the best for the new specification. If Arduino persists in a non-supportable library specification I may stop working on the plugin.
409  Using Arduino / Programming Questions / Re: Mega pwm prescaler 6 on pin 3 gives a flat line. on: November 13, 2013, 06:12:57 am
Anyone else has this problem?
I would like to rule out it is a broken board behaviour.
Best regards
Jantje
410  Community / Bar Sport / Anyone remembers these good old days? on: November 12, 2013, 06:40:04 am
https://www.youtube.com/watch?v=X9dpXHnJXaE
This was build before I was born and still functions.
Best regards
Jantje
411  Using Arduino / Programming Questions / Re: Mega pwm prescaler 6 on pin 3 gives a flat line. on: November 11, 2013, 05:24:56 pm
I also tested pins 2 and 5. Same problem (all timer 3)
When I test with pin 9 (timer 2) it works fine.
 smiley-eek
Best regards
Jantje
412  Development / Other Software Development / Re: bitSet only sets bits from 0 to 15 on: November 11, 2013, 05:18:22 pm
Dani
Maybe it is a good idea to change the title of the first post. 15->31
Best regards
Jantje
413  Using Arduino / Programming Questions / Arduino Mega 2560 pwm prescaler 6 on pin 3 gives a flat line. on: November 11, 2013, 05:13:51 pm
Hi
I'm playing around with the PWM frequency on my mega.
I have written a test program and I can see on my DSO scope that the PWM frequency changes when I change the prescaler.
However on prescaler 6 I get a flat line and no pulses.
Code:
void setup()
{
Serial.begin(115200);
Serial.println("prescaler failure");
Serial.println("on a mega with prescaler 6 on pin 2 does not generate a pulse");
pinMode(2,OUTPUT);
int myEraser=7;
int prescaler=6; //Works with 1,2,3,4,5 but not with 6
TCCR3B &= ~myEraser;   // this operation (AND plus NOT),  set the three bits in TCCR2B to 0
TCCR3B |= prescaler;  //this operation (OR), replaces the last three bits in TCCR2B with our new value 011
         analogWrite(2,160);
}


void loop()
{
//take your time to look at the scope
}
I only have a DSO nano scope but I would expect to be able to see the <20 hz signal.
Anyone knows what is going on here?
Best regards
Jantje
414  Development / Other Software Development / Re: bitSet only sets bits from 0 to 15 on: November 11, 2013, 03:51:54 pm
Dani
Thanks; I started thinking I was loosing it  smiley-eek
Best regards
Jantje
415  Development / Other Software Development / Re: bitSet only sets bits from 0 to 15 on: November 11, 2013, 03:22:30 pm
Rob
The existing macros should work for unsigned long, right?
That is from bit 16 to 31
Your proposal is needed for bits 32 to 63
Or did I miss something?
Best regards
Jantje
416  Development / Other Software Development / Re: bitSet only sets bits from 0 to 15 on: November 11, 2013, 02:46:59 pm
Are you sure about your observations?
The code for bitSet is a macro which looks  long compatible to me.
Also bitWrite is a macro using bitSet.
So if bitWrite works for longs; bitSet should as well

Code:
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
#define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))

Best regards
Jantje
417  Using Arduino / Microcontrollers / Re: Arduino Due - http://www.baeyens.it/eclipse/V2 issue on: November 07, 2013, 08:23:32 pm
money talks bullshit walks.
Have you seen money  smiley-cool
Don't worry. It probably is a cultural/language difference.
But it is frustrating by times that many people believe that 3th party tool providers get paid by Arduino.
It is true that the Arduino core team has provided me some boards I use for testing. I'm grateful for that.
But that would not be enough  to pay the 4 hours of avenue33.

Best regards
Jantje
418  Development / Other Software Development / Re: How do you add your own library to the list on this site? on: November 05, 2013, 07:56:37 pm
congratulations
Jantje
419  Development / Other Software Development / Re: How do you add your own library to the list on this site? on: November 05, 2013, 10:02:43 am
and be prepared to get lots of comments. See it as improvements to your good work and not as criticism.
This is probably the hardest part for many people who published open source.

Best regards
Jantje
420  Development / Other Software Development / Re: Any interest in a new Arduino IDE? on: November 05, 2013, 05:49:00 am

I haven't been paying much attention for a few months but from what I've observed Majenko's UECIDE has had a lot of work done on it and I personally would prefer a solid product with a few people behind it. So maybe you should consider Majenko's offer.

I agree with rob that there are a lot of alternatives already and that it is better to add to an existing one than to start a new one.
Feel free to join the arduino eclipse plugin. There are currently 5 contributors and it is all open source. https://github.com/jantje/arduino-eclipse-plugin and well documented (user level) http://eclipse.baeyens.it/
We are currently working on making a "product" which basically means that installation is simply unpacking like the arduino ide.
Best regards
Jantje
Pages: 1 ... 26 27 [28] 29 30 ... 121