Hi guys!
Thanks to Jason for enabling the AM mode in the default code (from planner) version 2.0.16 and above
#define MOTOR_LEDS 1 // 0 = off, 1 = on
#define FR_LED AN12 // Mega PE4 pin, OUT7
#define RE_LED AN14 // Mega PE5 pin, OUT6
#define RI_LED AN10 // Mega PH4 pin, OUT5
#define LE_LED AN8 // Mega PH5 pin, OUT4
So this seems right but I only get AN14 pin to give me some juice... and as it controls the REAR LED it does blink nicelly (stable mode)
My LED are all tested and wired correctly (even tried them all in AN14 and of course they blink as they should.
So wires not an issues... Must be the code! :) sorry Jason, I think there is an error...
I will load the source and have a look but for now if you read this now can you check that you correctly reference AN8 - 10 - 12 - 14 correctly?
Thanks!
Replies
I just checked the system.pde file where the LED gets powered and all look fine...(except the comments! hehe copy and paste Jason?)
#if MOTOR_LEDS == 1
pinMode(FR_LED, OUTPUT); // GPS status LED
pinMode(RE_LED, OUTPUT); // GPS status LED
pinMode(RI_LED, OUTPUT); // GPS status LED
pinMode(LE_LED, OUTPUT); // GPS status LED
#endif
So now I REALLY need someone to confirm it works (beside the RE_LED) I guess the issue is on my side then.. :(
because they are not flashing or doing anything special I could just use an always ON 5V... but that's not as good as using the dedicated AN outputs...
Please someone let me know that your motor LED works (or not) under 2.0.16 and above.
I will not open a defect/issue for this until someone else confirms.
Dany
This might need to be raised as a new issue (See Jason's comments on Issue 166) to ensure it gets noted and picked up.
Rob