Jump to content

Remi Sans Famille

EstablishedMember
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Remi Sans Famille

  • Rank
    Newbrie
  • Birthday 09/01/1951

Profile Information

  • Gender
    Male
  • Location
    Amsterdam, Netherlands
  • Interests
    Robotics, hydrofoils & sailboats
  1. Amsterdam, 6th dec 2013/7th dec 2013 Hello Mityeltu, In my opinion we live in a 8-bit hexadecimal world. So why bothering about confusing 7 bits addresses which have to be converted to 8 bits by shifting every time? I think it's easier to consider the slave as having one constant (unchangeable) WriteToSlaveAddress (even) and one constant ReadFromSlaveAddress (odd, namely WriteToSlaveAddress + 1). So two addresses of 8 bits each. A useful document that could help would be: http://www.robot-electronics.co.uk/acatalog/I2C_Tutorial.html Another absolute must is the AN734.pdf of Mic
  2. Come Awa ' In Well Reynard, thanks a lot!! Like you wrote, it appeared to be the _CONFIG4L extended enable instruction. I will now meticulously go into the configuration bits. I want to know all about it, it's the base. What I tried before, was skipping /* commenting out */ that special line, but strangely(!) enough the controller seems to remember previous settings. The Velleman VM134 programmer has the option to erase the PIC firstly. There are a lot of variables to set and variable methods, when combined make a lot of different ways. But for me the main reassurance is that the s
  3. Hi Dave, It is very silent round my little problem. I have been experimenting a lot because I thought that my configuration bits were not OK. But I have not been able to detect faults in my program yet. Hopefully you will find the time to have another look at it and perhaps inform me what I have to alter to make it working. Helas the 16F877 is to small for my purpose, that's why I bought several 18F4680's which are still unused. Please help. Sincerely, Remi
  4. Corrigendum: "]" added at line: SerialMessageToPC("]\n\r"); //on screen PC: "ab+d++++]" instead of: "abcd++++]" Hello Dave, thank you for your interest. I stripped as much as I could from the program but not things from which I think they can cause problems. Nevertheless there are 92 lines. The "rubbish" my program produces is old information which has been left in the controller. Here you go: #include <system.h> // stripped version, controller=18F4680, from Remi Sans Famille. #define slaveCMPS10_ADRES_0xC0 0xC0 #define slaveLCD_ADDRESS_0x50 0x50 #define slaveGP
  5. corrigendum: 16F887 should be 16F877, line 5 Hi guys, I found some irregularities which I cannot explain. Perhaps it's the programmer (Velleman VM134=K8076) that I bought because I have to wait for the second EBlock 006, already ordered. The old EB006 also gave problems with the 18F4680. What happened? I had no difficulties at all programming a 16F877. But when I loaded the same program (mutatis mutandis) in a 18F4680 some strange things happen. Example A. It doesn't like if arrays are addressed directly. For instance: LcdBuffer[5] = 'A'; has no effect at all. I have to use a variabl
  6. Quoting Pavel: "By 'impossible' do you mean that the name and key fields become grayed out. That's how it is supposed to work. Just press the OK button and this will show another form to enter your IDE license name and key." I hardly believed my eyes but this works! So simple. Grayed out. That's the expression. Thanks a lot for your very quick reaction !! Regards, Remi
  7. I also tried the solution with the "Default Lite Key" and key: "0D7D-A279-549A-DD9B-6CB0-1709-E31A-1276-C085-7220-5A41" but it doesn't work. There are some things I don't understand: My license says: BoostC Full for PICmicro v6.xx & V7.xx Activation Name: Farn .... Key: 00000G-TA9... The version is 6.60 I was glad that there is a 7.20 update which may work even better. Having installed 7.20, it is impossible in the radio-box of preg.exe to choose "SourceBoost IDE". It is however possible to choose "BoostC compiler" but after typing in my own key this results in: "Your S
×
×
  • Create New...