Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Neopixels!
Author | Message | ||||
aargee Senior Member Joined: 21/08/2008 Location: AustraliaPosts: 255 |
Has anyone done any Neopixel work with the 'mite (any flavour of mite)? Adafruit has libraries for the Arduino, could bit bang it with a Micromite but it may be too slow. For crying out loud, all I wanted to do was flash this blasted LED. |
||||
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437 |
http://youtube.com/watch?v=IGinUJQFfy0 |
||||
aargee Senior Member Joined: 21/08/2008 Location: AustraliaPosts: 255 |
I assume that's your work, Plasma? Very nice. Did you bit bang the string in Basic? For crying out loud, all I wanted to do was flash this blasted LED. |
||||
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437 |
Yup its me . The bitbanging are done with my own intern command Called ledshift , at this time it uses string for the colorbytes Which will shifted and rotatet with mmbasic standard commands. Maybe geoff will implement my routine some day. I have no compiler for the micromite , unfortunately. |
||||
aargee Senior Member Joined: 21/08/2008 Location: AustraliaPosts: 255 |
So did you modify an early version of the Maximite software to make the command or did it some other way? For crying out loud, all I wanted to do was flash this blasted LED. |
||||
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437 |
I extendet the commandset ,right. MMbasic itself runs to slow for bitbanging. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8600 |
If you download MPLabX and the XC32 compiler from Microchip that is all you need to start writing Cfunctions If you can add a command to the Maximite then you shouldn't have any problem writing a Cfunction for the Micromite Copy any of my C code in various posts and get CFuncGen from G8JCF which includes a full manual. I'm happy to answer any queries and it would be great to have another Cfunction author up and running |
||||
Zonker Guru Joined: 18/08/2012 Location: United StatesPosts: 761 |
Thanks Peter..! I am just getting the needed software downloaded... I am reading through the Excellent Manual that has been written on how to do this... (nice) Thanks for showing us where to get started..! |
||||
Zonker Guru Joined: 18/08/2012 Location: United StatesPosts: 761 |
Ok... I hit my first snag... I am following along with the manual about doing the first tutorial about reversing a MMbasic string... Got through the MPLab and compiler setup and created the "ELF" file... (which goes ok) but when I run the CFuncGen program and load the "ELF" file, nothing shows up it the working panes to look at... I went through the MPLab setups for the project again to make sure every thing is ok... Not sure what I'm doing wrong here... The only thing I setup differently is the working directory... does it have to be C:\CFunctions..? I set mine to the micromite area where I have the rest of my programs stored. I created a separate CFunctions folder to hold the MPLab output files... Thanks for any help..! |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8600 |
Zonker This is a standard problem which I struggled with too. When you install XC32 you need to tick the box that says something like "include xc32 in path" otherwise you get this problem Re-install xc32 making sure you tick the path box |
||||
Zonker Guru Joined: 18/08/2012 Location: United StatesPosts: 761 |
Cheers Pete..! I do remember seeing the PAHT box... I was wondering if I should have checked it... EDIT: Have reinstalled the compiler and now am getting the CFunction to show up in the CFunction Generator App... Will get back on the string tutorial... |
||||
Print this page |