PDA

View Full Version : 16f1936



grahamg
- 24th April 2010, 09:07
I am using the new extended 16F1936 and am having a problem accessing the EEPROM from PICBASIC pro. I Have PBP 2.60. When I try to use the WRITE command I get an error 113 stating that The Symbol (WRITE) is not previously defined. The device has 256 bytes of eeprom.
Is this device not supported by the WRITE command?

Has anyone had any experience with this device?

mackrackit
- 24th April 2010, 09:17
There is a wee bug in this version of PBP, this should help.
http://www.picbasic.co.uk/forum/showthread.php?t=12527

Acetronics2
- 24th April 2010, 09:28
Hi, Graham

could you provide a piece of program ( variables declaration + guilty WRITE commands ) ???

Alain

ScaleRobotics
- 24th April 2010, 09:31
Dave pointed it out, but here it is if you have trouble finding it: http://melabs.com/support/pbpissues.htm

Add this at the top of your code:

DEFINE WRITE_USED 1

grahamg
- 24th April 2010, 10:03
Thank you to all. The Define has fixed the problem.

Graham