A very small start.
http://wiz.mackrackit.cambs.net/
I will post a project log and any code used at the above address if anyone want to work on it.
If you have suggestion or code lets play. I will work on it as time permits.
A very small start.
http://wiz.mackrackit.cambs.net/
I will post a project log and any code used at the above address if anyone want to work on it.
If you have suggestion or code lets play. I will work on it as time permits.
Dave
Always wear safety glasses while programming.
Dave, you are awesome! I see you must be working from an older copy of mplab? I had to update in order to have support for 16f1946. If you want, I can send you my *.inc files.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Ioannis sent the incs from version 8.5 .
I just have not moved them into the project directory yet, ooppss.
Thanks for the reminder.
Dave
Always wear safety glasses while programming.
i have 8.53. dont know if there is any difference
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Seems like I am always slow to upgrade. I will install 8.53 .
And I need to get one of those 18FxxJxx chips...
Dave
Always wear safety glasses while programming.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Well... That is all there is at the moment
The .py that the HTML button page triggers is in red on the first page. The HTML with the button sends info to the .py then the .py produces a web page with the results.
The HTML part that gets it going
form action="/cgi-bin/ChipDrop.py" method="post" target="_blank">
select name="ChipSel">
--SNIP--
Then the Python code picks it up here
# Get data from fields
if form.getvalue('ChipSel'):
subject = form.getvalue('ChipSel')
else:
subject = "Not entered"
So all I have is the HTML and one py script to display the config options.
BTW.
I used this to help generate the HTML. No way I typed all of that..
Code:#!/usr/bin/python import os import re import string path="fileS" # insert the path to the directory of interest dirList=os.listdir(path) for fname in dirList: str = fname tx = str.strip('.INC'); sep = '' list = ['<option value="fileS/',str,'">',tx,'</option>'] print sep.join(list)
Dave
Always wear safety glasses while programming.
COOL!!!!Enrolled in a python class starts on 9/15.
Now when I get stuck I know who to ask
Never took a class myselfAnd it probably shows...
Dave
Always wear safety glasses while programming.
Hi guys,
I like the enthusiasm, and it’s a great idea … but …
You may not want to spend too much time on this project.
I can’t say from whom or where right now, but there is already a functioning Configurator that will be available fairly soon.
It covers all the chips, and all the configs, with drop-down boxes and descriptions for each option.
It creates a file that can be INCLUDEd in the code, and each project can have its own config file, instead of the normal default configs in the .inc files.
Or like all INCLUDEs, it can be pasted into the main code itself.
The defaults still have to be commented out, but that may be fixed soon too … maybe.
Sorry for the late notification, but I've been moving out of state and haven't been on-line for a few weeks.
Cheers.
DT
There you go, bursting our bubble, spoiling our fun. (And I use "our" very loosely)
I was looking forward to the open source aspect. Just to have the possibility of adding some bells and whistles would be great. There is a lot that this application could do. Some "PicMultiCalc like" functions could be added ... all digital includes, all sorts of possibilities.
http://www.scalerobotics.com
Leave it to Darrel to be a couple steps ahead of us.
Time wise I probably would not get much done before Darrel's (??) program comes out. So I will wait some.
Who know, maybe it will be open for tweaks. Or not have everything we have talked about. If not then.... We fill the gaps.
What else could we do like this? I like the idea of an open community project.
Dave
Always wear safety glasses while programming.
Maybe i should have said not to spend time on the CONFIG part, which is what it does, and what I saw you working on so far.
I don't want to stop all the other stuff you could be working on, because that will be very valuable too.
I did ask permission before revealing the configurator (because it's not from me), I just hated to see the time being spent here. But if that time were redirected towards setting up all those crazy internal registers, I'm sure it would be extremely usefull and appreciated by everyone.
DT
Bookmarks