Activity for David Abrames

  • David Abrames David Abrames posted a comment on discussion Open Discussion

    Thank you for all your comments and especially @evanvennn. I fully understand this was written at a time when PICs had a lot fewer PWM modules available but I have a lot of those older PICs in my stockpile that I would like to use. I like using GCBasic and lot better than anything else so I have been slowing moving all my project over to GCBasic and this particular module was one I just could not seem to work out. However you have really answered my basic question as it looks like I should not port...

  • David Abrames David Abrames posted a comment on discussion Open Discussion

    Hello, I am looking for some guidance in implementing Mirror Image Bit Angle Modulation (MIBAM) in Great Cow Basic. MIBAM was created by Darrel Taylor using PICBASIC in 2009. I have included a link to his work here: http://www.picbasic.co.uk/forum/showthread.php?t=7393 MIBAM is a replacement for Pulse Width Modulation to allow for driving many more LEDs Using TIMER Interrupts. The heart of the feature is an Interrupt Routine that is compiled using MPASM. I have all the original sample source (attached)...

  • David Abrames David Abrames posted a comment on discussion Help

    Thank you that changed helped a lot. David

  • David Abrames David Abrames posted a comment on discussion Help

    Dear Mike your sample worked alone with the change provided by Anobium Thank you VERY much David

  • David Abrames David Abrames posted a comment on discussion Help

    Dear Anobium, Thank you I will try that. Thank you

  • David Abrames David Abrames posted a comment on discussion Help

    Dear Anobium, Thank you I will try that. Thank you

  • David Abrames David Abrames modified a comment on discussion Help

    Dear Mike, Thank you very much I will give your suggestion a try and let you now what happens I think I am going to focus on GCBasic for now and then look at GCStudio later.

  • David Abrames David Abrames posted a comment on discussion Help

    Dear Mike, Thank you very much I will give your suggestion a try and let you now what happens

  • David Abrames David Abrames posted a comment on discussion Help

    Hello, I have been trying to figure out how to code the PWM feature of the PICF1455. I was under the impression that all I have to do is enter the line #CHIP 16F1455 and GCBasic would do its magic and configure everything so I could then start using the hardware PWM routines. This does not seem to be working. I have been reading the data sheet and then setting the various registers to enable PWM but so far I have had no luck. Since I don't find anyone else having all the issues that I am having,...

  • David Abrames David Abrames posted a comment on discussion Help

    Very Cool Thank you for the explanation. This is interesting as the Datasheet for this chip does reference "CPP" but I guess it is not the same as the compiler is looking for. Is there a #if Define that I can test to see if I need to manually add the "USE_HPWMCPP FALSE" line? David

  • David Abrames David Abrames posted a comment on discussion Help

    Dear Anobium Thank you for the reply, Attached is my program that will reproduce the problem. if you uncomment the #define lines I marked then the problem goes away. If you need anything else from me please let me know. Thank you

  • David Abrames David Abrames posted a comment on discussion Help

    Hllo, OK well never mind I seem to have found my answer but I really don't understand why I found in the HELP file a reference to PWM example that included these lines: '#define USE_HPWMCCP1 FALSE ' This is not used so optimise '#define USE_HPWMCCP2 TRUE ' This is used so include in the compiled code '#define USE_HPWMCCP3 FALSE ' This is not used so optimise '#define USE_HPWMCCP4 FALSE ' This is not used so optimise The 16f1455 has two CCP modules #1 and #2 and I choose CCP2 hence the above #defind...

  • David Abrames David Abrames posted a comment on discussion Help

    Hello, This is my first post so please let me know if I placed this in the wrong place. I was trying to compile the "hardware_mars_beacon_16f1398" Demo PWM Sample I change the chip setting to 16F1455 as that is the PIC Chip I have. Looking at the error I think this has something to do with the CCP configuration difference with my 16F1455 chip verse the original. I reviewed the datasheet for the 16f1455 and changed the PORT setting to PORTA.3, PORTA.5 and PORTC.5 which are the three ports available...

1