G15 EEPROM 'Reserved' address

LINIX Brushless, VEXTA Brushless, RC Servo, DC Geared, Linear, Stepper, Tamiya.....

G15 EEPROM 'Reserved' address

Postby yuansoon » Sun Apr 30, 2017 9:05 pm

Hi,

My question might sound stupid, but still i wanna ask, what's the use of this 'Reserved' address of EEPROM in G15 servo? Can i modify to use that address for other purpose? Need a fast reply, thanks.
yuansoon
Freshie
 
Posts: 5
Joined: Sun Apr 30, 2017 9:01 pm

Re: G15 EEPROM 'Reserved' address

Postby A380 » Mon May 01, 2017 12:17 am

Hi,

You can't even write a value to those reserved registers, it might return "Range" error. I think it's reserved for future extra features use if available.
User avatar
A380
Discoverer
 
Posts: 120
Joined: Tue May 19, 2009 2:44 pm
Location: Malaysia

Re: G15 EEPROM 'Reserved' address

Postby yuansoon » Mon May 01, 2017 12:26 am

Hi A380,

If i need to have a library for rero line sensor, can i just modify the .c ad .cpp file of g15shield and include it in the arduino? I've changed the definition of its address to what of the line sensor from the datasheet, but after i've included the library to the directory library folder, the function in the .h file i modified are not declared after i include the modified header file, do you know why?

can you take a look at the file i modified?
Attachments
Cytron_G15Shield2.zip
(4.54 KiB) Downloaded 371 times
yuansoon
Freshie
 
Posts: 5
Joined: Sun Apr 30, 2017 9:01 pm

Re: G15 EEPROM 'Reserved' address

Postby yuansoon » Mon May 01, 2017 10:57 am

Hi,

Okay, now i know that i'm lacking of 'librabry.properties' file, how do i generate that file so that th modified shield library can be used?
yuansoon
Freshie
 
Posts: 5
Joined: Sun Apr 30, 2017 9:01 pm

Re: G15 EEPROM 'Reserved' address

Postby yuansoon » Mon May 01, 2017 12:07 pm

Hi,

Is it possible to just add some functions in the .cpp file? i've added some but at the end it comes out the error 'class Cytron_G15Shield' has no member named 'setDarkLightMode'. (setDarkLightMode is the function i've added to the .cpp of Cytron_G15Shield). How should i overcome this problem?
yuansoon
Freshie
 
Posts: 5
Joined: Sun Apr 30, 2017 9:01 pm

Re: G15 EEPROM 'Reserved' address

Postby yuansoon » Tue May 02, 2017 1:49 am

Hi,

I've solved my problem, thanks anyway.
yuansoon
Freshie
 
Posts: 5
Joined: Sun Apr 30, 2017 9:01 pm

Re: G15 EEPROM 'Reserved' address

Postby A380 » Tue May 02, 2017 11:39 am

Awesome! :o
User avatar
A380
Discoverer
 
Posts: 120
Joined: Tue May 19, 2009 2:44 pm
Location: Malaysia


Return to DC Motor

Who is online

Users browsing this forum: No registered users and 4 guests