September 2005 Archives

Tue Sep 20 17:54:00 CET 2005

pic3com-users mailing list

I have setup a pic3com-users mailing list at sourceforge.net, where people can ask questions about this pic web server.

To subscribe to this mailing list, follow the instructions at http://lists.sourceforge.net/lists/listinfo/pic3com-users.


Posted by Jan Wagemakers | Permanent link | File under: pic3com

Sat Sep 17 13:36:00 CET 2005

pic3com : Permission set/reset output

I have added "permissions-bytes" so it is now possible to select which output-pins can be controlled by the web server. Without this it was possible to crash the web server, by for example setting D7 to 0, because D7 is used to drive the network card.

The "permissions-bytes" looks like this :
    ; - define the output's that can be set/reset (ex. ?E2=1)
    ; - stel de uitgangen die ge-zet/reset mogen worden (bv. ?E2=1)
    #define OUTpermissionA B'00000000'
    #define OUTpermissionB B'00000000'
    #define OUTpermissionC B'00000000'
    #define OUTpermissionD B'00000000'
    #define OUTpermissionE B'00000100' ; permission to set/reset E2
Change this if you want to control something else then E2.


Posted by Jan Wagemakers | Permanent link | File under: pic3com