Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 19:13 11 May 2024 Privacy Policy
Jump to

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: Australia
Posts: 255
Posted: 02:12am 03 Sep 2014
Copy link to clipboard 
Print this post

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: Germany
Posts: 437
Posted: 02:18am 03 Sep 2014
Copy link to clipboard 
Print this post

http://youtube.com/watch?v=IGinUJQFfy0
 
aargee
Senior Member

Joined: 21/08/2008
Location: Australia
Posts: 255
Posted: 02:35am 03 Sep 2014
Copy link to clipboard 
Print this post

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: Germany
Posts: 437
Posted: 02:52am 03 Sep 2014
Copy link to clipboard 
Print this post

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: Australia
Posts: 255
Posted: 01:36pm 03 Sep 2014
Copy link to clipboard 
Print this post

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: Germany
Posts: 437
Posted: 07:08pm 03 Sep 2014
Copy link to clipboard 
Print this post

I extendet the commandset ,right.
MMbasic itself runs to slow for bitbanging.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8600
Posted: 07:33am 08 Feb 2015
Copy link to clipboard 
Print this post

  Quote  I have no compiler for the micromite , unfortunately


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 States
Posts: 761
Posted: 12:14pm 08 Feb 2015
Copy link to clipboard 
Print this post

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 States
Posts: 761
Posted: 01:28pm 08 Feb 2015
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 8600
Posted: 12:08am 09 Feb 2015
Copy link to clipboard 
Print this post

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 States
Posts: 761
Posted: 12:54am 09 Feb 2015
Copy link to clipboard 
Print this post

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... Edited by Zonker 2015-02-11
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024